residual-attention-network
residual-attention-network copied to clipboard
atomicAdd(double*, double) has already benn defined
hello, when I make caffe, I meet this problem
./include/caffe/common.cuh(9): error: function "atomicAdd(double *, double)" has already been defined
1 error detected in the compilation of "/tmp/tmpxft_000040a6_00000000-11_interp.compute_61.cpp1.ii". Makefile:594: recipe for target '.build_release/cuda/src/caffe/util/interp.o' failed make: *** [.build_release/cuda/src/caffe/util/interp.o] Error 1 make: *** Waiting for unfinished jobs....
could you tell me how to fix it?
@Richardsix I have met the same problem and fixed it by referencing : https://stackoverflow.com/questions/39274472/error-function-atomicadddouble-double-has-already-been-defined