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

Fixed Point and ScratchTensor constructors. #615

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Conversation

jfields7
Copy link
Collaborator

This is a hotfix to the PointTensor and ScratchTensor templates in athena_tensor.hpp so that this file will compile correctly on AMD GPUs. Some of the template specializations declared their constructors with KOKKOS_INLINE_FUNCTION but then defined the constructors outside the class without. This is not generally consistent, and it's honestly a bit of a surprise that it compiled at all on other architectures.

@jmstone jmstone merged commit 224429d into main Nov 14, 2024
4 checks passed
@jmstone jmstone deleted the hotfix/athena-tensor branch November 14, 2024 19:37
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