lanl / phoebus

Phifty One Ergs Blows Up A Star
BSD 3-Clause "New" or "Revised" License
32 stars 0 forks source link

Fix GPU compilation for Monte Carlo #178

Closed brryan closed 1 year ago

brryan commented 1 year ago

PR Summary

src/radiation/monte_carlo.cpp wasn't compiling on Chicoma GPUs; #175 had some KOKKOS_INLINE_FUNCTION decorators around host code. This PR removes these, and also adds rlim as a runtime parameter to plot_torus_3d.py

PR Checklist

brryan commented 1 year ago

Thanks for this. I fixed that and apparently forgot to commit..

No worries, thanks for the approval. It's just another indicator we really need to set up a GPU CI :)