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 for debug build: Fix ill-formed KOKKOS macro function decoration. #1317

Merged
merged 2 commits into from
Oct 4, 2024

Conversation

overfelt
Copy link
Contributor

@overfelt overfelt commented Oct 4, 2024

No description provided.

@jrood-nrel jrood-nrel self-requested a review October 4, 2024 20:04
@marchdf
Copy link
Contributor

marchdf commented Oct 4, 2024

Closes #1302

@jrood-nrel jrood-nrel enabled auto-merge (squash) October 4, 2024 20:06
@jrood-nrel
Copy link
Contributor

This is great. Thanks James.

@marchdf
Copy link
Contributor

marchdf commented Oct 4, 2024

@overfelt thank you for taking care of this! I would not have gotten there. My GPU dev box is down this week so hopefully I can test it next week.

@jrood-nrel jrood-nrel merged commit 5df557f into master Oct 4, 2024
4 checks passed
@jrood-nrel jrood-nrel deleted the jroverf/MasterElementFix branch October 4, 2024 20:10
@overfelt
Copy link
Contributor Author

overfelt commented Oct 4, 2024

It is crazy that on a debug build the function became a no-op. No warning, no error. It just did nothing. Stared at the code for quite a while before it jumped out at me the "KOKKOS_FUNCTION KOKKOS_FUNCTION" in the declaration.

@marchdf
Copy link
Contributor

marchdf commented Oct 4, 2024

eagle eyes. Thank you very much!

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.

3 participants