Type: Answers

Type: Errata

Area: Embedded

Area: OpenCL


Last Modified: December 14, 2016
Version Found: v16.0
Version Fixed: v16.1
Bug ID: FB409015;

ERROR: Unable to find Altera OpenCL Platform

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

Workaround/Fix

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.