jitify icon indicating copy to clipboard operation
jitify copied to clipboard

Add nvrtc_cli tool

Open benbarsdell opened this issue 3 years ago • 1 comments

This allows NVRTC to be driven via a nvrtc_cli executable that operates identically to nvcc (for the subset of functionality supported by NVRTC).

This is useful for testing, and we also plan to integrate it into the godbolt.org Compiler Explorer.

Includes a script for testing basic functionality of the tool.

benbarsdell avatar May 27 '22 11:05 benbarsdell

Just wondering about getting this old PR. @benbarsdell can you make the trivial changes I noted above and we can get this merged? (we can just ignore my run-time checking for now)

maddyscientist avatar Sep 20 '22 18:09 maddyscientist

Sorry it took so long to get to this. I've added nvrtc_cli to make all.

benbarsdell avatar Nov 02 '22 02:11 benbarsdell

I'd prefer less CUDART_VERSION usage, but since this has been open for a long time, and long since merged into compiler-explorer, I'm happy to just approve and merge this.

maddyscientist avatar Nov 02 '22 03:11 maddyscientist

Maybe I misunderstood, I'm having trouble thinking this through. Some of them need to be compile time checks, and those won't gain anything by adding runtime checks. Will other parts benefit from having runtime checks?

benbarsdell avatar Nov 02 '22 03:11 benbarsdell