OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.

opencl working

Shweta_Shree
Beginner
1,034 Views
Can anyone please explain to me how a system handles 2 implementations of opencl.
(For example: intel and nvidia implementations).

How appropriate backend compilers are used in the function clProgramBuild()?
0 Kudos
1 Reply
Eli_Bendersky__Intel
1,034 Views
Hello Shweta Shree,

This is made possible by the OpenCL ICD. It is documented at: http://www.khronos.org/registry/cl/extensions/khr/cl_khr_icd.txt, here's a quote:


    This extension defines a simple mechanism through which the Khronos
    installable client driver loader (ICD Loader) may expose multiple 
    separate vendor installable client drivers (Vendor ICDs) for
    OpenCL.  An application written against the ICD Loader will be able to 
    access all cl_platform_ids exposed by all vendor implementations 
    with the ICD Loader acting as a demultiplexor.


You can read more details in the linked page and by googling "opencl icd".

Eli
0 Kudos
Reply