I am using Manjaro 19 KDE edition. My system has intel i5 cpu and nvidia geforce 920m gpu. I have installed nvidia drivers and cuda on my system. I picked up a sample program to add two arrays and compiled it with nvcc and it compiled successfully without any errors. When i run the out file it throws me the following error
cudaSetDevice failed! Do you have a CUDA-capable GPU installed?addWithCuda failed!
I have drivers version 390.132 and cuda 10.2 installed.
Can anybody help me out with this?