Skip to content

Commit

Permalink
Skip failing cpu tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ZzEeKkAa committed Jun 15, 2023
1 parent ee5420a commit 9768b0c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from numba_dpex import dpjit
from numba_dpex.core.exceptions import ExecutionQueueInferenceError
from numba_dpex.tests._helper import skip_no_opencl_gpu
from numba_dpex.tests._helper import skip_no_opencl_cpu, skip_no_opencl_gpu

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


@skip_no_opencl_gpu
@skip_no_opencl_cpu
def test_parfor_legalize_cfd_pass_raise():
a = dpnp.zeros(shape=10, device="cpu")
b = dpnp.ones(shape=10, device="gpu")
Expand All @@ -67,6 +68,7 @@ def test_parfor_legalize_cfd_pass_raise():


@skip_no_opencl_gpu
@skip_no_opencl_cpu
def test_cfd_error_due_to_lhs():
a = dpnp.zeros(shape=10, device="cpu")
b = dpnp.ones(shape=10, device="cpu")
Expand Down

0 comments on commit 9768b0c

Please sign in to comment.