The library function clGetProfileDataDeviceIntelFPGA must be called in the host code when dynamically profiling an autorun kernel. If this function is called directly, the host code compilation may fail with an error like the ones below.
error: ‘clGetProfileDataDeviceIntelFPGA’ was not declared in this scope
Windows (Microsoft Visual Studio)
error: unresolved external symbol clGetProfileDataDeviceIntelFPGA
If the system is using the ICD driver, non-standard functions such as *IntelFPGA functions cannot be used directly. The OpenCL call clGetExtensionFunctionAddress must be used to get a function pointer for the non-standard function and that pointer must be used to call it.