Article ID: 000073902 Content Type: Troubleshooting Last Reviewed: 05/01/2019

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?

Environment

  • Intel® Quartus® Prime Pro Edition
  • Intel® FPGA SDK for OpenCL™ Pro Edition
  • BUILT IN - ARTICLE INTRO SECOND COMPONENT
    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.

    Related Products

    This article applies to 1 products

    Intel® Programmable Devices