residual-attention-network icon indicating copy to clipboard operation
residual-attention-network copied to clipboard

atomicAdd(double*, double) has already benn defined

Open Richardsix opened this issue 7 years ago • 1 comments

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 avatar Oct 17 '17 03:10 Richardsix

@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

may0324 avatar Oct 31 '17 02:10 may0324