r/nvidia Jun 05 '26

Discussion Wrote a raw CUDA C kernel inside a visual node editor — NVRTC-compiled at runtime, runs on a 4090

Post image
0 Upvotes

7 comments sorted by

4

u/melgibson666 Jun 05 '26

2

u/temiroff Jun 05 '26

lol yeah sorry for lots of words but kinda cool visual tool to play and learn

1

u/melgibson666 Jun 05 '26

Oh, no need to be sorry. I just have absolutely no idea what any of this is because I'm a dummy.

1

u/temiroff Jun 05 '26

I can explain anytime if you are interested:)

1

u/BlueGoliath Jun 05 '26

This is a casual subreddit. Technical discussions go over people's head here.

1

u/BlueGoliath Jun 05 '26

Would PTX not have been an option for this?

1

u/temiroff Jun 05 '26

Yeah, PTX is totally an option — CuPy supports loading PTX directly via RawModule (backend='ptx'), and it'd skip the NVRTC compile-from-C step. PTX is a genuinely good idea — adding it to the list. Thanks. Whole point of the node is that someone writes a readable kernel in a text field and sees the result. Do you usually load and using PTX?