-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ThrustRTC example failed execution - Loading libnvrtc failed. cuMemAlloc() failed with Error code: 2 #14
Comments
On my Manjaro Linux installation, I had to manually link /usr/local/cuda to /opt/cuda to get it almost working (Some examples seems to fail).
How can I specify the search path for libnvrtc in Windows ? |
For the basic ReplaceIf example, I am getting this error in Manjaro Linux:
Histogram and K-Means examples are running fine. |
For the first question, trtc.set_libnvrtc_path() can be used to set the location of the libnvrtc.so or nvrtc64*.dll. You need to call it immediately after "import ThrustRTC as trtc", and give the full path to the shared library. For the second question, the error is because trtc.Replace_If() is expecting a trtc.Functor as its 2nd parameter. See https://github.com/fynv/ThrustRTC/blob/master/python/test/test_replace.py for detail. |
Hi Fei..
This environment does indeed make GPU computing far more easier ! Cheers... |
Ah yes, sorry for the readme mistake. Cheers. |
I have a working CUDA 11.3 environment with GTX-1660Ti, Thrust library also tested working.
I installed ThrustRTC-0.3.11 with pip and tried to execute the example code given on the github page. It fails with the above message. Any suggestions/fixes ??
The text was updated successfully, but these errors were encountered: