Skip to content

Commit

Permalink
Force turning off particle tiling for GPU on Advection_AmrLevel test (A…
Browse files Browse the repository at this point in the history
…MReX-Codes#2343)

This enables the same inputs file to be used for GPU / non-GPU runs.
  • Loading branch information
atmyers authored Sep 20, 2021
1 parent d568a0f commit 3cff899
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Tests/Amr/Advection_AmrLevel/Source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ main (int argc,
Real strt_time;
Real stop_time;

// force particle tiling to be off for GPU
#ifdef AMREX_USE_GPU
{
ParmParse pp("particles");
pp.add("do_tiling", 0);
}
#endif

{
ParmParse pp;

Expand Down

0 comments on commit 3cff899

Please sign in to comment.