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

Desul atomics: let relocatable device code mode be part of the configuration #5991

Merged
merged 7 commits into from
Apr 11, 2023

Conversation

dalg24
Copy link
Member

@dalg24 dalg24 commented Mar 16, 2023

Catch incompatible RDC mode at compile time for CUDA and HIP

…ration is not compatible with the relocatable device code mode
@dalg24 dalg24 force-pushed the desul_atomics_separable_compilation branch from c302dd5 to 22b8c70 Compare March 17, 2023 05:46
Copy link
Member Author

Choose a reason for hiding this comment

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

This file was removed in desul/desul#98

@dalg24 dalg24 marked this pull request as ready for review April 11, 2023 17:27
@nmm0
Copy link
Contributor

nmm0 commented Apr 11, 2023

What release changelog should this be on? 4.1?

Copy link
Contributor

@masterleinad masterleinad left a comment

Choose a reason for hiding this comment

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

Looks good to me. Most of the changes are cherry-picked from upstream desul anyway.

@dalg24
Copy link
Member Author

dalg24 commented Apr 11, 2023

What release changelog should this be on? 4.1?

If we want to mention it then yes.

@nmm0 nmm0 added this to the Release 4.1 milestone Apr 11, 2023
@dalg24
Copy link
Member Author

dalg24 commented Apr 11, 2023

Ignoring GCC-8.4.0 failure

@dalg24 dalg24 merged commit 48b34de into kokkos:develop Apr 11, 2023
25 checks passed
@dalg24 dalg24 mentioned this pull request Apr 11, 2023
@dalg24 dalg24 deleted the desul_atomics_separable_compilation branch April 11, 2023 20:22
masterleinad pushed a commit to masterleinad/kokkos that referenced this pull request Apr 24, 2023
…uration (kokkos#5991)

* Desul atomics: Make compilation fail if SEPARABLE_COMPILATION configuration is not compatible with the relocatable device code mode

* Desul atomics: Prefer #ifdef DESUL_ATOMICS_ENABLE_{CUDA,HIP}_SEPARABLE_DEVICE_CODE macro guards

* Desul atomics: add DESUL_ATOMICS_ENABLE_{CUDA,HIP}_SEPARABLE_COMPILATION macros

* Configure DESUL_ATOMICS_ENABLE_{CUDA,HIP}_SEPARABLE_COMPILATION in bundled version of the desul atomics

* Merge latest version

* Fixup Clang+CUDA defines __CLANG_RDC__ instead of __CUDACC_RDC__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants