-
Notifications
You must be signed in to change notification settings - Fork 21
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
nvbit_at_context_init_hook(): Assertion `cudaGetLastError() == cudaSuccess' failed #18
Comments
The error from the execution of your vectoradd tells that your GPU driver is too old to run programs compiled with CUDA 10.2. You either need to use an older CUDA/nvcc to compile your program and nvbit tools or upgrade your GPU driver. |
Actually the vectoradd program was compiled with CUDA 9.2 and ran fine without the LD_PRELOAD. |
OK, the issue is the incompatibility between the nvbit tool and your GPU driver. The nvbit tools need to be compiled with CUDA 10.2, which requires >=v440 GPU drivers, but your driver is too old. I would suggest you to upgrade your GPU driver to >= v440 |
Thanks @x-y-z, I will give it a try. |
@x-y-z does nvbit have hard dependency on the CUDA 10.2? Our data center don't always use the latest driver. Is it possible to relax this requirement? For example, would it possible to use CUDA 10.1 (driver 418)? |
I was able to build and run with CUDA 10.1 (driver 418). Thanks.
|
Great. We are glad it was resolved. |
Hello, I am trying to run the vectoradd example in the README, but ran into the following error:
Here is the system config:
CentOS Linux release 7.8.2003
cuda-10.2
cuda-9.2
nvbit_release/tools
PATH=/usr/local/cuda-10.2/bin:$PATH make
nvbit_release/test-apps/
PATH=/usr/local/cuda-9.2/bin:$PATH make
Can't use cuda-10.2 for vectoradd
GDB
The text was updated successfully, but these errors were encountered: