Skip to content

Commit

Permalink
disconnect onemkl project update
Browse files Browse the repository at this point in the history
  • Loading branch information
FMarno committed Nov 28, 2024
1 parent d22f1e6 commit 439808c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/onemkl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ include_guard()

include(ExternalProject)

option(CUTLASS_SYCL_DISCONNECT_ONEMKL_UPDATE "Option is passed to the UPDATE_DISCONNECTED parameter of ExternalProject_Add for onemkl" YES)

set(ONEMKL_INSTALL_DIR ${CMAKE_BINARY_DIR}/deps/oneMKL)
set(ONEMKL_INCLUDE_DIR ${ONEMKL_INSTALL_DIR}/include)
set(ONEMKL_LIB_DIR ${ONEMKL_INSTALL_DIR}/lib)
Expand Down Expand Up @@ -57,6 +59,7 @@ ExternalProject_Add(
-DTARGET_DOMAINS=rng
INSTALL_DIR ${ONEMKL_INSTALL_DIR}
BUILD_BYPRODUCTS ${ONEMKL_LIB}
UPDATE_DISCONNECTED ${CUTLASS_SYCL_DISCONNECT_ONEMKL_UPDATE}
)

add_library(oneMKL SHARED IMPORTED)

0 comments on commit 439808c

Please sign in to comment.