Using Semaphore and Memory Sharing Extensions for Vulkan Interop with NVIDIA OpenCL

Originally published at: https://developer.nvidia.com/blog/using-semaphore-and-memory-sharing-extensions-for-vulkan-interop-with-opencl/

New OpenCL support for Vulkan interoperability using semaphores and memory sharing extensions.

1 Like

Thank you for this information. The sample code is not allowing download: http://developer.download.nvidia.com/compute/DevZone/OpenCL/Projects/vk_ocl_interop_samples.zip

Also, do you know of any good resources for installing OpenCL on RHEL 8 or do most people install from source? Thanks for your time.

1 Like

Hi! Sorry to hear this. What error message are you getting? Are you on a Windows or Linux platform? What browser are you using? If Windows, have you checked your Download folder to see if the Zip file is there? We will continue to investigate why this is happening.

1 Like

The sample doesn’t work.

OpenCL\src\vulkanImageOpenCL\vulkanImageOpenCL.cpp:

auto vertShaderCode = readFile(“shader.vert”); // GLSL source code! :)))

VkShaderModule vertShaderModule = createShaderModule(vertShaderCode); // Crash :))))
Vulkan doesn’t know about GLSL :)))

1 Like

Thanks for trying out and reporting the issue. We are working on updating the samples to use SPIR-V shaders.

1 Like

༼ つ ◕__◕ ༽つ Finally! Was waiting for some kind of convergence with OpenCL interops, if seemed to have been dropped there in limbo for a while 😅