Skip to content

Commit 0822c32

Browse files
committed
Relax hipSYCL version constraint for forwards-compatibility with AdaptiveCpp
1 parent 65dc256 commit 0822c32

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ if(CXX_COMPILER_IS_DPCPP)
4343
endif()
4444

4545
# Find SYCL implementation.
46-
set(hipSYCL_MIN_VERSION "0.9.1")
4746
if(CELERITY_SYCL_IMPL STREQUAL "hipSYCL")
48-
find_package(hipSYCL ${hipSYCL_MIN_VERSION} CONFIG REQUIRED)
47+
find_package(hipSYCL CONFIG REQUIRED)
4948
elseif(CELERITY_SYCL_IMPL STREQUAL "DPC++")
5049
if(NOT CXX_COMPILER_IS_DPCPP)
5150
message(FATAL_ERROR "CELERITY_SYCL_IMPL set to DPC++, but CXX compiler at ${CMAKE_CXX_COMPILER} is not DPC++")
@@ -57,7 +56,7 @@ else()
5756
list(APPEND AVAILABLE_SYCL_IMPLS DPC++)
5857
endif()
5958

60-
find_package(hipSYCL ${hipSYCL_MIN_VERSION} QUIET CONFIG)
59+
find_package(hipSYCL QUIET CONFIG)
6160
if(hipSYCL_FOUND)
6261
message(STATUS "Found hipSYCL: ${hipSYCL_DIR}")
6362
list(APPEND AVAILABLE_SYCL_IMPLS hipSYCL)

0 commit comments

Comments
 (0)