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.
This is a hotfix to the
PointTensor
andScratchTensor
templates inathena_tensor.hpp
so that this file will compile correctly on AMD GPUs. Some of the template specializations declared their constructors withKOKKOS_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.