pycuda icon indicating copy to clipboard operation
pycuda copied to clipboard

Vulkan interoperability

Open lgleim opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. OpenGL rendering is increasingly replaced by the Vulkan API. Interoperability between Cuda and Vulkan is cumbersome and requires native programming as in these Cuda samples:

  1. https://github.com/NVIDIA/cuda-samples/tree/master/Samples/5_Domain_Specific/simpleVulkan
  2. https://github.com/NVIDIA/cuda-samples/tree/master/Samples/5_Domain_Specific/vulkanImageCUDA
  3. https://github.com/NVIDIA/cuda-samples/tree/master/Samples/5_Domain_Specific/simpleVulkanMMAP

Describe the solution you'd like A python interface to interface pytorch with vulkan rendering through CUDA, similar to the OpenGL renderer of pytorch3d.

lgleim avatar Mar 22 '24 14:03 lgleim

I would be happy to consider a PR along those lines.

inducer avatar Mar 22 '24 16:03 inducer