Interoperability with the APIs like Microsoft DirectX* or Intel® Media SDK are managed through extensions. Extensions are associated with specific devices. For more information on the extensions, status of extension support on CPU and Intel® Graphics devices, and shared context, refer to the OpenCL™ Code Builder - User’s Guide.
Intel SDK for OpenCL Application samples demonstrate various interoperability options. You can download samples from the product page at intel.com/software/opencl/.
Measure the overheads associated with various acquiring or releasing of DirectX, OpenGL*, Intel Media SDK APIs and other resources. High costs like several milliseconds for a regular HD frame might indicate some implicit copying.