Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions onemath/sycl/blas/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,16 @@ if (SYCL_COMPILER MATCHES "adaptivecpp" OR ${CMAKE_CXX_COMPILER} MATCHES "acpp|s
if(BLAS_ENABLE_COMPLEX)
message(STATUS "SYCL Complex data is not supported on AdaptiveCpp/hipSYCL. Complex data type is disabled")
set(BLAS_ENABLE_COMPLEX OFF)
if (NOT ${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR})
set(BLAS_ENABLE_COMPLEX OFF PARENT_SCOPE)
endif()
endif()
if (BLAS_ENABLE_USM)
message(STATUS "USM API is not supported on AdaptiveCpp/hipSYCL. USM API is disabled")
set(BLAS_ENABLE_USM OFF)
if (NOT ${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR})
set(BLAS_ENABLE_USM OFF PARENT_SCOPE)
endif()
endif()
endif()

Expand Down