LLVM's libclc Adds Mesa SPIR-V Target

Written by Michael Larabel in LLVM on 18 August 2020 at 02:57 AM EDT. 17 Comments
Continuing on with all of the OpenCL Mesa work that's been going on by Red Hat developers in recent time, LLVM's libclc library now has support for targeting Mesa SPIR-V.

The new target added to LLVM's libclc is for emitting SPIR-V geared for Mesa's OpenCL support. Libclc is the LLVM sub-project focused on providing a library for OpenCL C run-time usage. Existing targets have included AMDGPU/AMDGCN, R600, and NVIDIA NVPTX while SPIR-V for Mesa is the newest target for this OpenCL library.

The code is ready to go as part of LLVM 12.0 releasing next year.

Red Hat continues investing heavily in the open-source OpenCL compute stack based on Mesa, particularly for open-source NVIDIA, so it will be very interesting to see how this ultimately plays out.
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