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.