Skip to content

Commit

Permalink
Edit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jzc committed Oct 12, 2023
1 parent b0103be commit 76b03b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/range/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
file(GLOB test_cases_list *.cpp)

if(SYCL_IMPLEMENTATION STREQUAL "DPCPP")
# For DPCPP, range rounding is disabled globally. However,
# the range_api test needs range rounding enabled to pass,
# so renable it here.
# in FindDPCPP.cmake, range rounding is disabled globally to reduce
# the number of kernels generated per range parallel_for. However,
# range rounding enables launching of kernels over >32bit ranges,
# and the range_api test in full conformance such kernel launches
# over large ranges, so we renable it here.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -U__SYCL_DISABLE_PARALLEL_FOR_RANGE_ROUNDING__")
endif()

Expand Down

0 comments on commit 76b03b9

Please sign in to comment.