Raise "NVRTC version too high for GPU (compute_7)" on RTX2060 when "Sort_By_Key"
My code:
Error happens in "trtc.Sort_By_Key"
Std::out:
My GPU information:
RTX 2060 12GB; CUDA version: 11.6.124; Compute Capability: (7, 5): 64
My ThrustRTC version: 0.3.19
What other information should I provide? Thanks for you help.
I found this could happen when I use both ThrustRTC and PyCuda. In my code, 'Hash List' and 'Index List' are computed by pyCuda, and when I use ThrustRTC to sort them, I got this error. But if I only use ThrustRTC to sort same arrays, it works well. So i wonder if there is some conflict between ThrustRTC and pyCuda?
Sorry for late reply. This was a bug.
ThrustRTC simply calculated an incorrect compute capability when CUDA is initialized by a different library. (should be compute_75 instead of compute_7)
I fixed this just now in version 0.3.20.