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

Document KOKKOS_ASSERT macro #473

Merged
merged 2 commits into from
Dec 7, 2023
Merged

Document KOKKOS_ASSERT macro #473

merged 2 commits into from
Dec 7, 2023

Conversation

dalg24
Copy link
Member

@dalg24 dalg24 commented Dec 6, 2023

Doc was missing which is awkward considering the 4.2 release changelog features the new <Kokkos_Assert.hpp> headers.

I deliberately omitted KOKKOS_ENSURES and KOKKOS_EXPECTS.
I also chose to ignore that the KOKKOS_ENFORCE_CONTRACTS macro is also used to decide whether to check the condition is true or not. We might want to get rid of it but that is not the place to have this debate.

@crtrott crtrott merged commit 7e79194 into kokkos:main Dec 7, 2023
1 check passed
@dalg24 dalg24 deleted the kokkos_assert branch December 7, 2023 02:28
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.

2 participants