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

fix: atomicAdd() is defined twice #60

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

erodola
Copy link

@erodola erodola commented Jul 1, 2019

Fixed compilation-breaking issue that arises with CUDA 10.0 (possibly also older versions). The fix is taken verbatim from the file THCAtomics.cuh (line 119) of PyTorch 1.1.0 (full path \Lib\site-packages\torch\include\torch\csrc\api\include\torch), which avoids duplicate definition of atomicAdd(double*, double).

…verbatim from the file THCAtomics.cuh (line 119) of PyTorch 1.1.0, which avoids duplicate definition of atomicAdd(double*, double).
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

Successfully merging this pull request may close these issues.

1 participant