Closed luoyueyuguang closed 11 months ago
@liuyangzhuan Can you please take a look at this? Is it due to earlier version of nvcc not supporting atomic ops ?
I think it's because you should have used
-DCMAKE_CUDA_FLAGS="-gencode arch=compute_70,code=sm_70" instead of -DCMAKE_CUDA_FLAGS="-arch=sm_70,code=sm_70" in cmake.
sorry, It can't work. But I add set(CMAKE_CUDA_ARCHITECTURES 70;70;70)
to CMakeLists.txt. It can work
I compile it with CMake. It have these errors
My CMake setting is below;
I use
cuda-12.3
. The gpu that I use isTesla V100
, which compute capability is7.0
. I use such commands compile this file alone.It can pass. The same erros in
8.1.2
and8.2.1
. My make.inc is below