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."

Get the Android app

Or read this on Phoronix

Read more on:

Photo of progress

progress

Photo of llvm

llvm

Photo of clangir

clangir

Related news:

News photo

The iPhone 16 will ship as a work in progress

News photo

Progress acquires file management platform ShareFile for $875M

News photo

LLVM's Modern Fortran Compiler "Flang-New" Is Looking Good