Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytorch_0.4 ,compile error: dcn_v2_im2col_cuda_double.cu(248): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (double *, double) #5

Closed
qianfangjj opened this issue Jan 9, 2019 · 2 comments

Comments

@qianfangjj
Copy link

@CharlesShang Thank you for your code , when I run make.sh error produced as follows:

dcn_v2_im2col_cuda_double.cu(248): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (double *, double)

1 error detected in the compilation of "/tmp/tmpxft_00002005_00000000-5_dcn_v2_im2col_cuda_double.cpp4.ii".
dcn_v2_psroi_pooling_cuda_double.cu(247): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (double *, double)

dcn_v2_psroi_pooling_cuda_double.cu(248): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (double *, double)

dcn_v2_psroi_pooling_cuda_double.cu(249): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (double *, double)

dcn_v2_psroi_pooling_cuda_double.cu(250): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (double *, double)

dcn_v2_psroi_pooling_cuda_double.cu(265): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (double *, double)

dcn_v2_psroi_pooling_cuda_double.cu(266): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (double *, double)

6 errors detected in the compilation of "/tmp/tmpxft_00002154_00000000-5_dcn_v2_psroi_pooling_cuda_double.cpp4.ii".

@CharlesShang
Copy link
Owner

Hey @qianfangjj,
Have you solved this problem?
It might be related with cuda version/gpu architecture. Check this link atomicadd-not-work

@violet17
Copy link

@qianfangjj Hi~ Have you solven this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants