inducer / inducer/pycuda

test_driver.py failure - "CUDA header does not match"

Open
#302 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.1k
Forks
298
Avg merge
4m
Merged PRs (30d)
1

Description

I am getting the following error when I run "test_driver.py":

```
`python3 test_driver.py
/usr/local/lib64/python3.6/site-packages/pycuda-2021.1-py3.6-linux-x86_64.egg/pycuda/driver.py:71: UserWarning: Failed to import the CUDA driver interface, with an error message indicating that the version of your CUDA header does not match the version of your CUDA driver.
"Failed to import the CUDA driver interface, with an error "
Traceback (most recent call last):
File "test_driver.py", line 8, in
from pycuda.tools import mark_cuda_test, dtype_to_ctype
File "/usr/local/lib64/python3.6/site-packages/pycuda-2021.1-py3.6-linux-x86_64.egg/pycuda/tools.py", line 28, in
import pycuda.driver as cuda
File "/usr/local/lib64/python3.6/site-packages/pycuda-2021.1-py3.6-linux-x86_64.egg/pycuda/driver.py", line 65, in
from pycuda._driver import * # noqa
ImportError: /usr/local/lib64/python3.6/site-packages/pycuda-2021.1-py3.6-linux-x86_64.egg/pycuda/_driver.cpython-36m-x86_64-linux-gnu.so: undefined symbol: cuDevicePrimaryCtxRelease_v2
`
```

It seems to have something to do with the "_v2" but I'm not sure how to get it working.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.