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

101428 Posts

This is probably my answer:
$ make
"/usr/local/cuda-11.4/bin/nvcc" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -DSM300 -o -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:] 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