Closed benbarsdell closed 2 years ago
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)
Sorry it took so long to get to this. I've added nvrtc_cli to make all
.
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.
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?
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.