File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,10 @@ endif()
68
68
option (ENABLE_CUBLAS_BACKEND "" OFF )
69
69
option (ENABLE_CURAND_BACKEND "" OFF )
70
70
option (ENABLE_NETLIB_BACKEND "" OFF )
71
- set (ONEMKL_SYCL_IMPLEMENTATION "dpc++" CACHE STRING "Specifiy the SYCL implementation against which oneMKL should be built" )
71
+ option (DISABLE_HALF_RUTINES "" OFF )
72
+ option (ONEMKL_SYCL_IMPLEMENTATION "" "dpc++" )
73
+
74
+
72
75
73
76
## Domains
74
77
set (DOMAINS_LIST "" )
@@ -126,12 +129,13 @@ if(WIN32)
126
129
add_library (ONEMKL::SYCL::SYCL INTERFACE IMPORTED )
127
130
else ()
128
131
# Find necessary packages
129
- if (ONEMKL_SYCL_IMPLEMENTATION STREQUAL "hipSYCL" )
132
+ if (${ ONEMKL_SYCL_IMPLEMENTATION} STREQUAL "hipSYCL" )
130
133
message (STATUS "Looking for hipSYCL" )
131
134
find_package (hipSYCL CONFIG REQUIRED )
132
135
set (USE_ADD_SYCL_TO_TARGET_INTEGRATION true )
136
+ set (DISABLE_HALF_RUTINES ON )
133
137
add_library (ONEMKL::SYCL::SYCL INTERFACE IMPORTED )
134
- elseif (ONEMKL_SYCL_IMPLEMENTATION STREQUAL "dpc++" )
138
+ elseif (${ ONEMKL_SYCL_IMPLEMENTATION} STREQUAL "dpc++" )
135
139
message (STATUS "Looking for dpc++" )
136
140
set (USE_ADD_SYCL_TO_TARGET_INTEGRATION false )
137
141
find_package (Compiler REQUIRED )
You can’t perform that action at this time.
0 commit comments