File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717"""Defines unit test cases for the SyclProgram and SyclKernel classes"""
1818
1919import os
20- import shutil
2120
2221import 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
You can’t perform that action at this time.
0 commit comments