CLVK Still Making Progress As Experimental OpenCL Over Vulkan

Written by Michael Larabel in Vulkan on 17 April 2019 at 12:09 AM EDT. 5 Comments
VULKAN
We've seen many efforts like DXVK that are mapping Direct3D atop Vulkan, efforts like Zink in getting OpenGL over Vulkan, and less popular but still progressing is getting OpenCL -- at least a reasonable subset of it -- working under Vulkan. That's what the CLVK project is about and it's been making more progress since we last looked at it on Phoronix.

Last September we initially covered the experimental CLVK initiative for getting OpenCL kernels running over Vulkan. Our benchmarks from October showed some OpenCL benchmarks even running on CLVK atop Vulkan but the initial performance left a lot to be desired.

Fortunately, CLVK popped back up on my radar this week and it's still moving forward as one of the few OpenCL-on-Vulkan open-source efforts. It's still at OpenCL 1.2 era support but without handling for images, device partitioning, out-of-order queues, and other limitations. But the progress is quite modest for largely being done by a sole developer paired with CLSPV and SPIR-V tooling helping in the heavy lifting.

Since last writing about CLVK, it's picked up support for Talvos as a Vulkan emulator/interpreter for handling SPIR-V modules on the CPU and thus allowing CLVK to operate without a Vulkan-enabled GPU.

CLVK is still only known to work with some programs like the SHOC benchmarks, the OpenCL conformance tests partially, OpenCL Toys, and other select software, but at least it's moving forward. Those wanting to try it out or potentially get involved with its development can learn more from CLVK on GitHub.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week