cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

elad
Adept I

OpenCL & DirectX12 Interoperability

AMD supports OpenCL extentions such as clGetDeviceIDsFromD3D11KHR, clCreateFromD3D11BufferKHR & clCreateFromD3D11Texture2DKHR to support OpenCL & D3D11 resource sharing and synchronization.

These work great and are very useful for applications that are compute & visualization heavy. We use them extensively.

Yet, there have been no updates to these APIs for a long time and specifically no Direct3D12 (or Vulkan for that matter) interoperability APIs. 

Is this interoperability possible to achieve with current APIs? If not, Is there a possibility to add such support in the future? Nvidia's Cuda has those, and theoretically supporting such functionalities is not extremely hard from a driver point of view.

Would appreciate any comment / info.

Elad   

0 Likes
1 Reply
dipak
Big Boss

Thank you for the query. 

OpenCL doesn't have DX12/Vulkan interop support. The OpenCL team said that they had some internal discussion about the support, but currently there is no immediate plan for adding it.

Thanks. 

0 Likes