Skip to content

Commit 53b3cf0

Browse files
authored
Tests: Managed Memory (#210)
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.
1 parent ee6537d commit 53b3cf0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ def amrex_init(tmpdir):
3737
"amrex.signal_handling=0",
3838
# abort GPU runs if out-of-memory instead of swapping to host RAM
3939
# "abort_on_out_of_gpu_memory=1",
40+
# the arena for GPU runs defaults to managed
41+
"amrex.the_arena_is_managed=1",
4042
]
4143
)
4244
yield

0 commit comments

Comments
 (0)