The Resource Sharing sample (https://software.intel.com/en-us/articles/intel-directx-interop) crashed on my computer.
Does it mean extension exists not equal to device exists?
device:
Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz
Intel(R) HD Graphics 4600
the CL_PLATFORM_EXTENSIONS has cl_khr_dx9_media_sharing, but m_clGetDeviceIDsFromDX9MediaAdapterKHR return CL_DEVICE_NOT_FOUND
I:\driver\tmp\Release>DXVASurfaceSharing.exe
Platform extensions: cl_intel_dx9_media_sharing cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_d3d11_sharing cl_khr_depth_images cl_khr_dx9_media_sharing cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_spir
Platform:Intel(R) OpenCL
cl_intel_dx9_media_sharing cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_d3d11_sharing cl_khr_depth_images cl_khr_dx9_media_sharing cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_spir
Platform Devices: