r/CUDA • • 29d ago

Another Java to CUDA compiler written in Java

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

7 comments sorted by

2

u/c-cul 28d 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 28d ago

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

1

u/c-cul 28d ago

ok (although then it must called transpiler)

at least does it allow ptx inline asm?

1

u/foosekis4j 28d ago

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

1

u/Karyo_Ten 26d ago

Why not doing direct PTX anymore?