Get the latest tech news
LLVM Makes Progress On Using ClangIR To Compile GPU Kernels
ClangIR is a new IR for LLVM's Clang compiler built atop MLIR
Student developer Zhi Ma took to the effort of enabling GPU kernel support with ClangIR over the summer. The project was centered around enabling OpenCL C language support in ClangIR that can then be targeted to SPIR-V for executing atop OpenCL/Vulkan drivers. We have successfully compiled and executed all 20 OpenCL C benchmarks from the polybenchGpu repository, passing the built-in result validation."
Or read this on Phoronix