Visible to Intel only — GUID: uxp1521477174753
Ixiasoft
Visible to Intel only — GUID: uxp1521477174753
Ixiasoft
6.6.3.1. Linking to the ICD Loader Library on Windows
- Consult with your board vendor to identify the libraries that the FCD requires. Alternatively, you can invoke the aocl ldlibs command and identify the libraries that your OpenCL application requires.
- Specify the libraries in the registry key HKEY_LOCAL_MACHINE\SOFTWARE\ Intel® \OpenCL\Boards. Specify the value name to be the path to the library, and specify the data to be a DWORD that is set to 0.
Attention: If your board vendor provides multiple libraries, you might need to load them in a particular order. Consult with your board vendor to determine the correct order to load the libraries. List the libraries in the registry in their loading order.
To enumerate board vendor-specific libraries, FCD scans the values in the HKEY_LOCAL_MACHINE\SOFTWARE\ Intel® \OpenCL\Boards registry key. For each DWORD value that is set to 0, the FCD Loader opens the corresponding DLL that is specified in the value name.
Consider the following registry key value:
[HKEY_LOCAL_MACHINE\SOFTWARE\ Intel® \OpenCL\Boards] "c:\board_vendor a\my_board_mmd.dll"=dword:00000000
The FCD loader scans this value and loads the library my_board_mmd.dll from the board_vendor a folder.
If your host application fails to run while it is linking to the ICD, ensure that the HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors registry key contains the following value:
[HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors] "alteracl_icd.dll"=dword:00000000