Skip to content

Commit f54fc2b

Browse files
authored
[testing] remove pytest skips associated with GPUs from test_data.py (#2287)
* Update test_data.py
1 parent f0dbe74 commit f54fc2b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

onedal/datatypes/tests/test_data.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ def _test_input_format_c_contiguous_numpy(queue, dtype):
108108
@pytest.mark.parametrize("queue", get_queues())
109109
@pytest.mark.parametrize("dtype", [np.float32, np.float64])
110110
def test_input_format_c_contiguous_numpy(queue, dtype):
111-
if queue and queue.sycl_device.is_gpu:
112-
pytest.skip("Sporadic failures on GPU sycl_queue.")
113111
_test_input_format_c_contiguous_numpy(queue, dtype)
114112

115113

@@ -130,8 +128,6 @@ def _test_input_format_f_contiguous_numpy(queue, dtype):
130128
@pytest.mark.parametrize("queue", get_queues())
131129
@pytest.mark.parametrize("dtype", [np.float32, np.float64])
132130
def test_input_format_f_contiguous_numpy(queue, dtype):
133-
if queue and queue.sycl_device.is_gpu:
134-
pytest.skip("Sporadic failures on GPU sycl_queue.")
135131
_test_input_format_f_contiguous_numpy(queue, dtype)
136132

137133

@@ -156,8 +152,6 @@ def _test_input_format_c_not_contiguous_numpy(queue, dtype):
156152
@pytest.mark.parametrize("queue", get_queues())
157153
@pytest.mark.parametrize("dtype", [np.float32, np.float64])
158154
def test_input_format_c_not_contiguous_numpy(queue, dtype):
159-
if queue and queue.sycl_device.is_gpu:
160-
pytest.skip("Sporadic failures on GPU sycl_queue.")
161155
_test_input_format_c_not_contiguous_numpy(queue, dtype)
162156

163157

@@ -180,8 +174,6 @@ def _test_input_format_c_contiguous_pandas(queue, dtype):
180174
@pytest.mark.parametrize("queue", get_queues())
181175
@pytest.mark.parametrize("dtype", [np.float32, np.float64])
182176
def test_input_format_c_contiguous_pandas(queue, dtype):
183-
if queue and queue.sycl_device.is_gpu:
184-
pytest.skip("Sporadic failures on GPU sycl_queue.")
185177
_test_input_format_c_contiguous_pandas(queue, dtype)
186178

187179

@@ -204,8 +196,6 @@ def _test_input_format_f_contiguous_pandas(queue, dtype):
204196
@pytest.mark.parametrize("queue", get_queues())
205197
@pytest.mark.parametrize("dtype", [np.float32, np.float64])
206198
def test_input_format_f_contiguous_pandas(queue, dtype):
207-
if queue and queue.sycl_device.is_gpu:
208-
pytest.skip("Sporadic failures on GPU sycl_queue.")
209199
_test_input_format_f_contiguous_pandas(queue, dtype)
210200

211201

0 commit comments

Comments
 (0)