Skip to content

Commit 9d64cb8

Browse files
committed
experiment: do not skip SYCL source tests when basekit not installed
1 parent 27ee8b3 commit 9d64cb8

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

dpctl/tests/test_sycl_program.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"""Defines unit test cases for the SyclProgram and SyclKernel classes"""
1818

1919
import os
20-
import shutil
2120

2221
import pytest
2322

@@ -272,12 +271,6 @@ def test_create_program_from_sycl_source():
272271
except dpctl.SyclQueueCreationError:
273272
pytest.skip("No OpenCL queue is available")
274273

275-
if not shutil.which("icpx"):
276-
# In version 2025.2 and before, the packages do not contain the
277-
# libraries in the .bc format necessary for RTC. Therefore,
278-
# installation of the base toolkit is required.
279-
pytest.skip("oneAPI Base Toolkit not installed")
280-
281274
if not q.get_sycl_device().can_compile("sycl"):
282275
pytest.skip("SYCL source compilation not supported")
283276

@@ -388,12 +381,6 @@ def test_create_program_from_invalid_src_sycl():
388381
except dpctl.SyclQueueCreationError:
389382
pytest.skip("No OpenCL queue is available")
390383

391-
if not shutil.which("icpx"):
392-
# In version 2025.2 and before, the packages do not contain the
393-
# libraries in the .bc format necessary for RTC. Therefore,
394-
# installation of the base toolkit is required.
395-
pytest.skip("oneAPI Base Toolkit not installed")
396-
397384
if not q.get_sycl_device().can_compile("sycl"):
398385
pytest.skip("SYCL source compilation not supported")
399386

0 commit comments

Comments
 (0)