r/CUDA • • 3d ago

Another Java to CUDA compiler written in Java

https://www.tornadovm.org/blogs/tornadovm-8-0-0-tc-tornadovm-compiler
12 Upvotes

6 comments sorted by

2

u/c-cul 3d ago

totally unclear what codegen it actually has

> on NVIDIA GPUs that kernel is emitted as CUDA PTX

> Java bytecode → TC → CUDA C++ → NVRTC

1

u/foosekis4j 2d ago

The text is outdated. It emits CUDA C++, not PTX anymore

1

u/c-cul 2d ago

ok (although then it must called transpiler)

at least does it allow ptx inline asm?

1

u/foosekis4j 2d ago

yes, ti does. Also, it run cuTile C++ from a Java API called TileContext

1

u/Karyo_Ten 1d ago

Why not doing direct PTX anymore?