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

Replace atomicadd with pytorch impl #75

Merged
merged 1 commit into from
Jun 3, 2021

Conversation

CCInc
Copy link
Collaborator

@CCInc CCInc commented Jun 3, 2021

Replace the cuda atomicadd op with the pytorch one, which supports at::Half and other device architectures.

Tested on cuda devices with compute 7.5 and 5.2

Fix #72 #73 #74

Copy link

@zhijian-liu zhijian-liu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@zhijian-liu zhijian-liu merged commit 96859d6 into mit-han-lab:master Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants