Fix EOSPAC errors from calls in __host__ __device__ functions #421
Labels
bug
Something isn't working
Robustness
Ensures that existing features work as intended
Testing
Additions/changes to the testing infrastruture
We have been a bit lazy with our
PORTABLE_INLINE_FUNCTION
calls and EOSPAC. Since EOSPAC can't be called from within a device kernel, we need to get rid of those function decorators when calling EOSPAC.For example,
https://github.com/lanl/singularity-eos/blob/main/singularity-eos/eos/eos_eospac.hpp#L1297
fails on certain platforms with the error
error: reference to __host__ function 'eosSafeInterpolate' in __host__ __device__ function
.The text was updated successfully, but these errors were encountered: