Knowledge Base Article
Why does aocl install and aocl uninstall fail in Intel FPGA SDK for OpenCL17.1?
Description
On Microsoft Windows© platforms, OpenCL® emulation gives the following error and fails when an Intel GPU device is also present in the system:
“Context callback: Invalid binary.
ERROR: CL_INVALID_BINARY”
In the host code when querying the platform, query for “Intel(R) FPGA” instead of “Intel” as shown below.
Change:
platform = findPlatform("Intel");
To:
platform = findPlatform("Intel(R) FPGA");
Remember that CL_CONTEXT_EMULATOR_DEVICE_ALTERA must be set to 1 for emulation.
Workaround/Fix
Updated 1 month ago
Version 2.0No CommentsBe the first to comment