Hi-PACE / hipace

Highly efficient Plasma Accelerator Emulation, quasistatic particle-in-cell code
https://hipace.readthedocs.io
Other
51 stars 14 forks source link

Remove `amrex::Gpu::notInLaunchRegion()` checks #1127

Closed AlexanderSinn closed 1 month ago

AlexanderSinn commented 2 months ago

The launch region check is a way in amrex to easily disable GPU functionality in parts of the code that are not fully ported to GPU yet. HiPACE++ is fully ported to GPU and doesn't use the launch region, especially not when compiling with OMP, so the checks can be removed to clean the code.