3 ms·
Yes. But even CUDA is pretty verbose and weird in places. CUDA C compiles to PTX, an assembly-ish intermediate language. You could target it with much nicer HL
by celoyd 16y ago
Yes. But even CUDA is pretty verbose and weird in places.
CUDA C compiles to PTX, an assembly-ish intermediate language. You could target it with much nicer HLLs to hide a bunch of clunky stuff like cudaMemcpy. Unfortunately it seems to be such a moving target right now that all the non-C interfaces I’ve seen are either very incomplete or use the C internally.
- frisco 16y agoThere are actually some very interesting efforts around building languages that compile to PTX ("Parallel Thread Execution"). NVIDIA treated it as a trade secret in the beginning and so only now is that really beginning to take off. The introduction of C++ support with Fermi took a little bit of the pressure off, but I bet we'll see some new parallel-oriented languages in the next few years.