Skip to content

Commit 0242ed3

Browse files
ZzEeKkAaDiptorup Deb
authored andcommitted
Skip failing cpu tests
1 parent ac0e1f3 commit 0242ed3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

numba_dpex/tests/core/passes/test_parfor_legalize_cfd_pass.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from numba_dpex import dpjit
1616
from numba_dpex.core.exceptions import ExecutionQueueInferenceError
17-
from numba_dpex.tests._helper import skip_no_opencl_gpu
17+
from numba_dpex.tests._helper import skip_no_opencl_cpu, skip_no_opencl_gpu
1818

1919
shapes = [10, (2, 5)]
2020
dtypes = [dpnp.int32, dpnp.int64, dpnp.float32, dpnp.float64]
@@ -58,6 +58,7 @@ def test_parfor_legalize_cfd_pass(shape, dtype, usm_type, device):
5858

5959

6060
@skip_no_opencl_gpu
61+
@skip_no_opencl_cpu
6162
def test_parfor_legalize_cfd_pass_raise():
6263
a = dpnp.zeros(shape=10, device="cpu")
6364
b = dpnp.ones(shape=10, device="gpu")
@@ -67,6 +68,7 @@ def test_parfor_legalize_cfd_pass_raise():
6768

6869

6970
@skip_no_opencl_gpu
71+
@skip_no_opencl_cpu
7072
def test_cfd_error_due_to_lhs():
7173
a = dpnp.zeros(shape=10, device="cpu")
7274
b = dpnp.ones(shape=10, device="cpu")

0 commit comments

Comments
 (0)