diff --git a/PunctureTracker/src/puncture_tracker.cxx b/PunctureTracker/src/puncture_tracker.cxx index c87c35a0..6825579c 100644 --- a/PunctureTracker/src/puncture_tracker.cxx +++ b/PunctureTracker/src/puncture_tracker.cxx @@ -5,8 +5,6 @@ #include #include -#include - #include #include #include @@ -103,7 +101,10 @@ extern "C" void PunctureTracker_Track(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS_PunctureTracker_Track; DECLARE_CCTK_PARAMETERS; +#ifndef AMREX_USE_GPU assert(!omp_in_parallel()); +#endif + // we can remove this segment when global mode works if (cctk_iteration == previous_iteration) { return;