NvrtcLoadingError when using precompiled ptx
M1ngXU opened this issue · comments
Sometimes i get this error:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: NvrtcLoadingError { key: "cuda", cuda: DriverError(CUDA_ERROR_INVALID_PTX, "a PTX JIT compilation failed") }'
though just recompiling rust (not nvcc) works
Very weird, can you post source code of the kernel/program you're using?
This actually happens with many different source codes ...
If i encounter a smaller source code (currently it's 500 lines of copy paste) with the same issue, i'll post it here.
I'm going to close this, feel free to reopen if you find a reproducible example