Knowledge Base Article

Why does get_global_size function call return an incorrect value when executing the autorun kernel using the Intel® FPGA SDK for OpenCL™ compiler legacy emulator version 18.1.1?

Description

Due to a problem in the Intel® FPGA SDK for OpenCL compiler legacy emulator version 18.1.1,  the get_global_size function returns 0 instead of 2^32 for an autorun kernel. This may result in functional differences between the emulator and FPGA execution of the kernel.

Resolution

To work around this problem, execute the kernel using the fast emulator mode of the Intel® FPGA SDK for OpenCL version 19.1  compiler and this will provide the correct emulation results.

Updated 1 month ago
Version 3.0
No CommentsBe the first to comment