We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feeea2b commit d73e898Copy full SHA for d73e898
onemath/sycl/blas/CMakeLists.txt
@@ -70,10 +70,16 @@ if (SYCL_COMPILER MATCHES "adaptivecpp" OR ${CMAKE_CXX_COMPILER} MATCHES "acpp|s
70
if(BLAS_ENABLE_COMPLEX)
71
message(STATUS "SYCL Complex data is not supported on AdaptiveCpp/hipSYCL. Complex data type is disabled")
72
set(BLAS_ENABLE_COMPLEX OFF)
73
+ if (NOT ${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR})
74
+ set(BLAS_ENABLE_COMPLEX OFF PARENT_SCOPE)
75
+ endif()
76
endif()
77
if (BLAS_ENABLE_USM)
78
message(STATUS "USM API is not supported on AdaptiveCpp/hipSYCL. USM API is disabled")
79
set(BLAS_ENABLE_USM OFF)
80
81
+ set(BLAS_ENABLE_USM OFF PARENT_SCOPE)
82
83
84
85
0 commit comments