Skip to content

Commit

Permalink
Force turning off particle tiling for GPU on Advection_AmrLevel tutor…
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers authored Sep 20, 2021
1 parent e11eae4 commit c80f008
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions 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 c80f008

Please sign in to comment.