Intel Software: Intel FPGA SDK for OpenCL, Quartus Prime

Type: Answers

Area: OpenCL


Last Modified: May 01, 2019
Version Found: v18.1 Update 1
Version Fixed: v19.1
Bug ID: 1409094402

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.

Workaround/Fix

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.