

(as a relative or absolute file name path).Īs the ICD shared library itself (i.e.

If this fail or if there are shashes, it uses $OCL_ICD_VENDORS, libOpenCL.so will first try to use icd, libOpenCL.so will only load the ICD whose shared library name is wrote into the specified ".icd" file Is a directory path, then this path replaces the "/etc/OpenCL/vendors" path in the standard behavior: the loader will use the This variable allows one to change the way ICD are searched on the system. (see below) is used in priority if defined and not empty. It is compatible with some other ICD loaders (but not all of them, as the variable is not part of the standard). This variable allows one to modify the defaut Some environment variables can be used modify the default behavior of libOpenCL. In the latter case, the ICD shared library will be looked for into the standard dynamic library loader paths. icd file.Įach shared library name in ".icd" files can have its path, or it can be a plain filename. icd, the ICD Loader loads with dlopen(3) the shared library whose name is on the first line of the. According to OpenCL specifications from Khronos (see ), the ICD Loader looks for files into /etc/OpenCL/vendors directory and, for each file whose name ends with.
