You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm having an issue producing runable code from GPU fit after compilation. My build environment is as follows: OS: Ubuntu 20.04 x64
GPU device: NVIDIA GeForce GTX 1070 Mobile
CUDA driver: 460.32.03
cmake 3.14.0
gcc: 5.5.0 (also tried 7.5.0 and 9.3.0)
The build procedure I am using is: cmake -DCMAKE_BUILD_TYPE=RELEASE -DUSE_CUBLAS=ON -DCUDA_ARCHITECTURES="8.0 8.6+PTX" -DCMAKE_C_COMPILER=gcc-5 -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-11.2 ../Gpufit
make
(I modified the cmake file as described here to get cublas to work.)
The build succeeds, however when I try to run the examples via e.g. ./Simple_Example the result is:
terminate called after throwing an instance of 'std::runtime_error'
what(): no kernel image is available for execution on the device
Aborted (core dumped)
I have no problems running other cuda code compiled via nvcc.
Thanks,
Chris
The text was updated successfully, but these errors were encountered:
Hi,
I'm having an issue producing runable code from GPU fit after compilation. My build environment is as follows:
OS: Ubuntu 20.04 x64
GPU device: NVIDIA GeForce GTX 1070 Mobile
CUDA driver: 460.32.03
cmake 3.14.0
gcc: 5.5.0 (also tried 7.5.0 and 9.3.0)
The build procedure I am using is:
cmake -DCMAKE_BUILD_TYPE=RELEASE -DUSE_CUBLAS=ON -DCUDA_ARCHITECTURES="8.0 8.6+PTX" -DCMAKE_C_COMPILER=gcc-5 -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-11.2 ../Gpufit
make
(I modified the cmake file as described here to get cublas to work.)
The build succeeds, however when I try to run the examples via e.g. ./Simple_Example the result is:
terminate called after throwing an instance of 'std::runtime_error'
what(): no kernel image is available for execution on the device
Aborted (core dumped)
I have no problems running other cuda code compiled via nvcc.
Thanks,
Chris
The text was updated successfully, but these errors were encountered: