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.
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.
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.
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 :)))
Thanks for trying out and reporting the issue. We are working on updating the samples to use SPIR-V shaders.
༼ つ ◕__◕ ༽つ Finally! Was waiting for some kind of convergence with OpenCL interops, if seemed to have been dropped there in limbo for a while 😅