View Single Post
Old 2021-07-19, 16:04   #6
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

101428 Posts
Default

This is probably my answer:
Code:
$ make
"/usr/local/cuda-11.4/bin/nvcc" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -DSM300 -o sort_engine.so sort_engine.cu -Xptxas -v -Xcudafe -# -shared -Xcompiler -fPIC -Xcompiler -fvisibility=hidden -I"/usr/local/cuda-11.4/bin/..//include" -I. -O3  
nvcc fatal   : Unsupported gpu architecture 'compute_30'
make: *** [Makefile:67: sort_engine.so] Error 1
When I simply used "make" in the cub directory, it defaulted to sm_52, so it built the wrong .so. The "make" driven by the main Makefile probably called the cub Makefile as designed and that failed, but didn't provide an error I could catch in the displayed stream.
EdH is offline   Reply With Quote