Skip to content

Commit

Permalink
Add H4I-MKLShim submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
pvelesko committed Oct 9, 2024
1 parent 8a1e051 commit 52105dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "H4I-MKLShim"]
path = H4I-MKLShim
url = https://github.com/CHIP-SPV/H4I-MKLShim.git
13 changes: 0 additions & 13 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
# Find HIP
if(STANDALONE_BUILD)
# Build H4I-MKLShim from submodule first
add_subdirectory(H4I-MKLShim REQUIRED)

# Find hip package, but exclude its H4I-MKLShim
set(CMAKE_IGNORE_PATH ${CMAKE_IGNORE_PATH} ${hip_DIR}/../H4I-MKLShim)
find_package(hip CONFIG REQUIRED)

# Explicitly set the path to our built H4I-MKLShim
set(H4I_MKLShim_DIR ${CMAKE_CURRENT_BINARY_DIR}/H4I-MKLShim)
endif()

include(ExternalProject)
option(H4I_ROCM_HIPSOLVER_TAG "Tag to use from the ROCm hipBLAS repository when obtaining its hipsolver.h header" "rocm-5.3.3")
ExternalProject_Add(ROCmHipsolver
Expand Down

0 comments on commit 52105dd

Please sign in to comment.