NVIDIA CUDA Code In A JIT Interpreted Manner Via Cling

Written by Michael Larabel in LLVM on 3 October 2018 at 04:45 PM EDT. 9 Comments
LLVM
Cling, the C++ interpreter built upon LLVM and Clang, is in the process of seeing support for NVIDIA CUDA.

Based on Clang's CUDA support, university students have been working on adding CUDA support to Cling so it can be interpreted at run-time -- basically JIT'ed for the GPU being used. This is believed to be the first interpreter out there for the CUDA runtime API. They are using it for some interesting use-cases including working on CUDA-based code off notebooks.



Those curious about this experimental support can see this slide deck, which was sent into us this morning. Those unfamiliar with the Cling C++ interpreter can find it 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