Replies: 1 comment
-
I think atomicMax is not a keyword in cuda c++, just a library function, so it can be redefined. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I read the src code of cuda in the project, I find the atomicMax function declaration in pytorch3d\csrc\pulsar\cuda\commands.h:line145. And in cuda runtime functions, it already has a same one. It’s interesting that there is no error when building the project with enabled CUDA support from source code. In my mind, the two functions will be conflict when building. Does anyone have an idea about it?. Thanks.
![image](https://private-user-images.githubusercontent.com/58506571/302550205-0e755c93-3fa6-45d0-a6e7-e3a9e5268894.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ4ODU1MjQsIm5iZiI6MTcyNDg4NTIyNCwicGF0aCI6Ii81ODUwNjU3MS8zMDI1NTAyMDUtMGU3NTVjOTMtM2ZhNi00NWQwLWE2ZTctZTNhOWU1MjY4ODk0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI4VDIyNDcwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk2MDNkOTUzNDlkMzc3Nzc0NDcxOTI0YWE5MzY2ODk2YmI3YWI2MzcwOWMwYTRlZDQ4YTdhYjNjYTNiMTZiOWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.QylJL45zdujTS3aGsV0kkfb0AJ7jLBhkWTlsbBx08a8)
Beta Was this translation helpful? Give feedback.
All reactions