Skip to content

Commit 3167277

Browse files
committed
EAMxx: fix pyfield test on GPU
1 parent c4600fd commit 3167277

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/eamxx/src/share/field/tests/pyfield.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ TEST_CASE("pyfield", "") {
5454

5555
auto f_py = create_py_field<Host>(f1);
5656
py_mod.attr("set_iota")(f_py);
57+
f1.sync_to_dev();
5758
}
5859
REQUIRE (views_are_equal(f1,f2));
5960

0 commit comments

Comments
 (0)