Skip to content

Commit

Permalink
FIX gave the cuda tests the correct name (CPU->cuda)
Browse files Browse the repository at this point in the history
  • Loading branch information
eickenberg committed Oct 12, 2023
1 parent b7233e3 commit 237ed96
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/test_1d/test_backward_1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def test_t2_backward_CPU_points(
@pytest.mark.parametrize("modifier", length_modifiers)
@pytest.mark.parametrize("fftshift", [False, True])
@pytest.mark.parametrize("isign", [-1, 1])
def test_t2_backward_CPU_values(
def test_t2_backward_cuda_values(
N: int, modifier: int, fftshift: bool, isign: int
) -> None:
check_t2_backward(N, modifier, fftshift, isign, "cuda", False)
Expand All @@ -221,7 +221,7 @@ def test_t2_backward_CPU_values(
@pytest.mark.parametrize("modifier", length_modifiers)
@pytest.mark.parametrize("fftshift", [False, True])
@pytest.mark.parametrize("isign", [-1, 1])
def test_t2_backward_CPU_points(
def test_t2_backward_cuda_points(
N: int, modifier: int, fftshift: bool, isign: int
) -> None:
check_t2_backward(N, modifier, fftshift, isign, "cuda", True)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_2d/test_backward_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def test_t2_backward_CPU_points(
@pytest.mark.parametrize("modifier", length_modifiers)
@pytest.mark.parametrize("fftshift", [False, True])
@pytest.mark.parametrize("isign", [-1, 1])
def test_t2_backward_CPU_values(
def test_t2_backward_cuda_values(
N: int, modifier: int, fftshift: bool, isign: int
) -> None:
check_t2_backward(N, modifier, fftshift, isign, "cuda", False)
Expand All @@ -263,7 +263,7 @@ def test_t2_backward_CPU_values(
@pytest.mark.parametrize("modifier", length_modifiers)
@pytest.mark.parametrize("fftshift", [False, True])
@pytest.mark.parametrize("isign", [-1, 1])
def test_t2_backward_CPU_points(
def test_t2_backward_cuda_points(
N: int, modifier: int, fftshift: bool, isign: int
) -> None:
check_t2_backward(N, modifier, fftshift, isign, "cuda", True)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_3d/test_backward_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def test_t2_backward_CPU_points(
@pytest.mark.parametrize("modifier", length_modifiers)
@pytest.mark.parametrize("fftshift", [False, True])
@pytest.mark.parametrize("isign", [-1, 1])
def test_t2_backward_CPU_values(
def test_t2_backward_cuda_values(
N: int, modifier: int, fftshift: bool, isign: int
) -> None:
check_t2_backward(N, modifier, fftshift, isign, "cuda", False)
Expand All @@ -301,7 +301,7 @@ def test_t2_backward_CPU_values(
@pytest.mark.parametrize("modifier", length_modifiers)
@pytest.mark.parametrize("fftshift", [False, True])
@pytest.mark.parametrize("isign", [-1, 1])
def test_t2_backward_CPU_points(
def test_t2_backward_cuda_points(
N: int, modifier: int, fftshift: bool, isign: int
) -> None:
check_t2_backward(N, modifier, fftshift, isign, "cuda", True)
Expand Down

0 comments on commit 237ed96

Please sign in to comment.