I am having problems with building CUDA CSR5 benchmark in CSR5_cuda subfolder. There seems to be a problem with atomicAdd for double on architecture 5.2.
nvcc -O3 -w -m64 -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_52,code=compute_52 main.cu -o spmv -I/usr/local/cuda-6.5/include -I/home/oberhuber/NVIDIA_CUDA-10.1_Samples/common/inc -L/usr/local/cuda-6.5/lib64 -lcudart -D VALUE_TYPE=double -D NUM_RUN=1000
detail/cuda/csr5_spmv_cuda.h(352): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (double *, double)
detected during:
instantiation of "void spmv_csr5_calibrate_kernel(const uiT *, const vT *, vT *, iT) [with iT=int, uiT=unsigned int, vT=double]"
Dear developers,
I am having problems with building CUDA CSR5 benchmark in
CSR5_cuda
subfolder. There seems to be a problem withatomicAdd
fordouble
on architecture 5.2.Best regards, Tomas.