Value 'sm_30' is not defined for option 'gpu-architecture' #337
-
Hi, I installed the cuda toolkit and worked through the tutorial where the function doublify was created to double all entries in an array. Unfortunately, I can't get it working. Running this code results in the following error message: nvcc fatal : Value 'sm_30' is not defined for option 'gpu-architecture' My setup: Any clue if there is something wrong with my settings or is it something related to pycuda? Kind regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think the issue might be that Nvidia has removed support for the Kepler architecture from |
Beta Was this translation helpful? Give feedback.
I think the issue might be that Nvidia has removed support for the Kepler architecture from
nvcc
in the most recent versions. PyCUDA queries the GPU for its "compute capability", and it returned 3.0, which it then passes on tonvcc
, which declared itself incapable of compiling for that compute capability. Downloading an older CUDA toolkit might help.