Article ID: 000079825 Content Type: Error Messages Last Reviewed: 12/14/2016

ERROR: Unable to find Altera OpenCL Platform

Environment

  • Intel® Quartus® Prime Pro Edition
  • BUILT IN - ARTICLE INTRO SECOND COMPONENT

    Critical Issue

    Description

    The Altera SDK for OpenCL™ platform is now the Intel® FPGA SDK for OpenCL platform. As a result, if the cl_platform_id findPlatform(string_name) function in your host code looks for "Altera", "Altera SDK", or other similar strings, the findPlatform() call will return a NULL value. In some cases, you might not receive a NULL value from findPlatform(), but you will encounter a segmentation fault when running your application.

    When running design examples from previous versions, you might encounter the following error message:

    ERROR: Unable to find Altera OpenCL Platform

    Resolution

    Update your host code to instruct the findPlatform() function to search for "Intel(R) FPGA SDK for OpenCL", "Intel(R) FPGA SDK", or "Intel(R) FPGA".

    Do not limit the search string to just "Intel" because you might have other Intel platforms in your library path.

    Note: Version 16.1 of the OpenCL design examples have been updated to search for "Intel(R) FPGA" as the platform name.

    Related Products

    This article applies to 1 products

    Intel® Programmable Devices