Skip to content

Commit

Permalink
add cpu check
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias-Dwyer committed Feb 2, 2024
1 parent dc76762 commit 267e150
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hoomd/hpmc/pytest/test_muvt.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ def test_insertion_removal(device, simulation_factory,
assert muvt.N["B"] > 0


@pytest.mark.cpu
@pytest.mark.skipif(not hoomd.version.llvm_enabled, reason="LLVM not enabled")
def test_jit_remove_insert(device, simulation_factory,
one_particle_snapshot_factory):
Expand Down Expand Up @@ -228,6 +229,7 @@ def test_jit_remove_insert(device, simulation_factory,
assert muvt.remove_moves[0] > 0


@pytest.mark.cpu
def test_plane_wall_insertion(device, simulation_factory,
one_particle_snapshot_factory):
"""Test that MuVT considers a planar wall when inserting particles."""
Expand Down Expand Up @@ -268,6 +270,7 @@ def test_plane_wall_insertion(device, simulation_factory,
assert sum(muvt.remove_moves) > 0


@pytest.mark.cpu
def test_spherical_wall_insertion(device, simulation_factory,
one_particle_snapshot_factory):
"""Test that MuVT considers a spherical wall when inserting particles."""
Expand Down Expand Up @@ -307,6 +310,7 @@ def test_spherical_wall_insertion(device, simulation_factory,
assert sum(muvt.remove_moves) > 0


@pytest.mark.cpu
def test_cylindrical_wall_insertion(device, simulation_factory,
one_particle_snapshot_factory):
"""Test that MuVT considers a cylindrical wall when inserting particles."""
Expand Down

0 comments on commit 267e150

Please sign in to comment.