[Cin] [SemiOT] CUDA

Andrea paz gamberucci.andrea at gmail.com
Sat Jun 22 20:49:19 CEST 2019


I installed Cuda on my arch. To verify the success of the installation
I tried to compile one of the samples (deviceQuery). I get the
following error:

[root at archpaz paz]# cd /home/paz/cuda/
[root at archpaz cuda]# make
/opt/cuda/bin/nvcc -ccbin g++ -I../../common/inc  -m64    -gencode
arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35
-gencode arch=compute_37,code=sm_37 -gencode
arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52
-gencode arch=compute_60,code=sm_60 -gencode
arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70
-gencode arch=compute_75,code=sm_75 -gencode
arch=compute_75,code=compute_75 -o deviceQuery.o -c deviceQuery.cpp
deviceQuery.cpp:17:10: fatal error: helper_cuda.h: File o directory
non esistente
   17 | #include <helper_cuda.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:288: deviceQuery.o] Error 1

Does anyone know what a mistake it is and how to make cuda work?


More information about the Cin mailing list