Skip to content

Commit

Permalink
Tests: Managed Memory (#210)
Browse files Browse the repository at this point in the history
Recently, AMReX' default changed away from defaulting the `Arena` to
managed memory. Some of our tests still rely on it, so we keep the
old default for now.
  • Loading branch information
ax3l authored Oct 19, 2023
1 parent ee6537d commit 53b3cf0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def amrex_init(tmpdir):
"amrex.signal_handling=0",
# abort GPU runs if out-of-memory instead of swapping to host RAM
# "abort_on_out_of_gpu_memory=1",
# the arena for GPU runs defaults to managed
"amrex.the_arena_is_managed=1",
]
)
yield
Expand Down

0 comments on commit 53b3cf0

Please sign in to comment.