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 clang CUDA atomics #1773

Merged

Conversation

psychocoderHPC
Copy link
Member

clang CUDA is exposing atomic*_block() function signatures even if these can not be used by the selected architecture.

This fix is cherry-picked from #1772 where I additionally fixed our test cases to cover such issues. The problem is that #1772 is not passing the CI because clang-HIP takes ages (over 2h to compile the atomic test ) and nvhpc (openACC) test fails because of invalid memory access.

CUDA is exposing `atomic*_block()` function signatures even if these can
not be used by the selected architecture.
@sbastrakov sbastrakov merged commit d92f228 into alpaka-group:develop Aug 9, 2022
@psychocoderHPC psychocoderHPC deleted the fix-cudaClangAtomics branch July 11, 2023 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants