Skip to content

Commit d3af7b8

Browse files
committed
Drop -fno-sycl-id-queries-fit-in-int from dpctl extensions
The option was added for dpctl.tensor kernels in 9af90dd (gh-1184) and stayed in build_dpctl_ext and dpctl/utils after dpctl.tensor moved to dpnp. None of these modules launches a kernel over a range: _sycl_queue, dpctl.memory and _device_queries contain no device kernels, and _seq_order_keeper only submits an empty single_task. Starting with DPC++ 2026.2 the ID range is recorded at the device link step, so passing the option only at compile time has no effect anyway.
1 parent 3adec61 commit d3af7b8

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

‎dpctl/CMakeLists.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ function(build_dpctl_ext _trgt _src _dest)
111111
Python_add_library(${_trgt} MODULE WITH_SOABI ${_generated_src})
112112
if (BUILD_DPCTL_EXT_SYCL)
113113
add_sycl_to_target(TARGET ${_trgt} SOURCES ${_generated_src})
114-
target_compile_options(${_trgt} PRIVATE -fno-sycl-id-queries-fit-in-int)
115114
target_link_options(${_trgt} PRIVATE -fsycl-device-code-split=per_kernel)
116115
if (DPCTL_OFFLOAD_COMPRESS)
117116
target_link_options(${_trgt} PRIVATE --offload-compress)

‎dpctl/utils/CMakeLists.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ list(APPEND _pybind11_targets ${python_module_name})
2727

2828
set(_linker_options "LINKER:${DPCTL_LDFLAGS}")
2929
foreach(python_module_name ${_pybind11_targets})
30-
target_compile_options(${python_module_name} PRIVATE -fno-sycl-id-queries-fit-in-int)
3130
target_link_options(${python_module_name} PRIVATE -fsycl-device-code-split=per_kernel)
3231
if (DPCTL_OFFLOAD_COMPRESS)
3332
target_link_options(${python_module_name} PRIVATE --offload-compress)

0 commit comments

Comments
 (0)