![]() #$ NVVMIR_LIBRARY_DIR=/usr/local/cuda-9.0/bin/./nvvm/libdevice $ /usr/local/cuda-9.0/bin/nvcc -verbose -ccbin g++ -I././common/inc -m64 -gencode arch=compute_30,code=sm_30 -o deviceQuery.o -c deviceQuery.cpp The output is $ cd /home/Kong/NVIDIA_CUDA-9.0_Samples/1_Utilities/deviceQuery/ I have no idea what’s wrong with it, please help me fix this problem. home/Kong/anaconda2/bin:/usr/local/cuda-9.0/bin:/home/Kong/anaconda2/bin:/usr/local/cuda-9.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. Here is the device information $ nvcc -versionĬopyright (c) 2005-2017 NVIDIA CorporationĬuda compilation tools, release 9.0, V9.0.176 ![]() It seems all the samples I compile have the problem with helper_cuda.h. Makefile:273: recipe for target 'deviceQuery.o' failed ![]() IDevice Co-op Kernel Launch: %s\n", operative /common/inc/helper_cuda.h:293:14: error: 'cudaErrorCooperativeLaunchTooLarge' was not declared in this scopeĬase cudaErrorCooperativeLaunchTooLarge :ĭeviceQuery.cpp: In function 'int main(int, char**)':ĭeviceQuery.cpp:172:84: error: 'struct cudaDeviceProp' has no member named 'cooperativeLaunch'Įrative Kernel Launch: %s\n", operativeĭeviceQuery.cpp:173:84: error: 'struct cudaDeviceProp' has no member named 'cooperativeMultiDeviceLaunch' ![]() /common/inc/helper_cuda.h:289:14: error: 'cudaErrorJitCompilerNotFound' was not declared in this scope /common/inc/helper_cuda.h:285:14: error: 'cudaErrorNvlinkUncorrectable' was not declared in this scope /common/inc/helper_cuda.h: In function 'const char* _cudaGetErrorEnum(cudaError_t)': In file included from deviceQuery.cpp:20:0: I am using Nvidia driver version 384.183, which satisfies the requirement for cuda-9.0 (version >=384).īut I can’t compile any samples, here is the example when I compile the samples in /home/Kong/NVIDIA_CUDA-9.0_Samples/1_Utilities/deviceQuery/, it comes out the errors: "/usr/local/cuda-9.0"/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_70,code=sm_70 -gencode arch=compute_70,code=compute_70 -o deviceQuery.o -c deviceQuery.cpp ![]() (Please see output of nvcc -version and nvidia-smi below). I follow the official documentation carefully and It seems that I have successfully installed cudatoolkit 9.0. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |