Article ID: 000087167 Content Type: Troubleshooting Last Reviewed: 11/09/2017

Why does aocl install and aocl uninstall fail in Intel FPGA SDK for OpenCL17.1?

Environment

  • Intel® Quartus® Prime Pro Edition
  • All

    BUILT IN - ARTICLE INTRO SECOND COMPONENT
    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

    Related Products

    This article applies to 1 products

    Intel® Programmable Devices