CLVK Is Piping OpenCL On Top Of Vulkan

Written by Michael Larabel in Standards on 23 September 2018 at 04:53 AM EDT. 11 Comments
The concept has been talked about before and there has been some previous work in this direction while "CLVK" is a newly-established effort for getting OpenCL running on top of Vulkan drivers.

The challenge of OpenCL on Vulkan might not be as big as it seems to an outside observer considering both modern OpenCL and Vulkan rely on the SPIR-V intermediate representation, etc. There is also a plethora of tooling catering both to these compute and graphics APIs like clspv, which this CLVK project happens to rely upon as its compiler.

CLVK saw just its first publish push about one week ago and can implement much of OpenCL 1.2 on top of Vulkan but is currently experimental and has some limitations like not supporting OpenCL images, out-of-order queues, device partitioning, native kernels, and other missing items.

This OpenCL-on-Vulkan stack though is good enough to handle SHOC benchmarks, the OpenCL conformance tests, the clinfo OpenCL information utility, and more.

Those wanting to do some weekend exploring/hacking on this OpenCL-over-Vulkan effort can find CLVK on GitHub.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week