Skip to content

Commit 4aa1a80

Browse files
Enable support of large indexes for sycl
1 parent 0bc9740 commit 4aa1a80

File tree

1 file changed

+1
-0
lines changed
  • dpbench/benchmarks/pairwise_distance/pairwise_distance_sycl_native_ext

1 file changed

+1
-0
lines changed

dpbench/benchmarks/pairwise_distance/pairwise_distance_sycl_native_ext/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set(py_module_name _${module_name})
77
python_add_library(${py_module_name} MODULE ${module_name}/${py_module_name}.cpp)
88
add_sycl_to_target(TARGET ${py_module_name} SOURCES ${module_name}/${py_module_name}.cpp)
99
target_include_directories(${py_module_name} PRIVATE ${Dpctl_INCLUDE_DIRS})
10+
target_compile_options(${py_module_name} PRIVATE -fno-sycl-id-queries-fit-in-int)
1011

1112
file(RELATIVE_PATH py_module_dest ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
1213
install(TARGETS ${py_module_name}

0 commit comments

Comments
 (0)