Open ztjsw opened 3 years ago
Can you install the C version of cuOSQP given here: https://github.com/osqp/osqp/tree/cuda-1.0
What happens when you run the demo example?
I have builded the osqp with branch cuda-1.0
. But it still returns the error:
-> % ./out/osqp_demo
terminate called after throwing an instance of 'thrust::system::system_error'
what(): parallel_for failed: cudaErrorNoKernelImageForDevice: no kernel image is available for execution on the device
[1] 15556 abort (core dumped) ./out/osqp_demo
Which version of the CUDA Toolkit do you have installed?
CUDA 10.2
It seems that your GPU has the Pascal architecture, which has the CUDA compute capability 6.1.
What happens if you change this line to set(CMAKE_CUDA_ARCHITECTURES 61)
?
I had the same problem. Setting the CMAKE_CUDA_ARCHITECTURES did not help but i had to remove ", '--target', 'osqpstatic'" from https://github.com/osqp/cuosqp/blob/master/setup.py#L104
Same problem here. In my case, using an A30, setting set(CMAKE_CUDA_ARCHITECTURES 80)
and commenting out the conditional statement solved the problem.
Hello there, I ran the cuosqp but it aborts as following:
My GPU is NVIDIA 1080Ti, the code is:
I was wondering why this is and if there is anything I am doing wrong?