Skip to content

Commit

Permalink
Revert "Link rocWMMA to hiprtc (#310)" (#313)
Browse files Browse the repository at this point in the history
This reverts commit c647c3c.
  • Loading branch information
cgmillette authored Dec 12, 2023
1 parent c647c3c commit 4b10c7e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ endif()
message( VERBOSE "AMDGPU_TARGETS=${AMDGPU_TARGETS}")

find_package( hip REQUIRED )
find_package(hiprtc REQUIRED)
find_package( OpenMP REQUIRED )

find_path(ROCM_SMI_ROOT "include/rocm_smi/rocm_smi.h"
Expand All @@ -107,7 +106,7 @@ find_library(ROCM_SMI_LIBRARY rocm_smi64
PATHS "${ROCM_SMI_ROOT}/lib")

add_library(rocwmma INTERFACE)
target_link_libraries(rocwmma INTERFACE hip::device hip::host hiprtc::hiprtc OpenMP::OpenMP_CXX ${ROCM_SMI_LIBRARY})
target_link_libraries(rocwmma INTERFACE hip::device hip::host OpenMP::OpenMP_CXX ${ROCM_SMI_LIBRARY})

rocm_install_targets(
TARGETS rocwmma
Expand Down

0 comments on commit 4b10c7e

Please sign in to comment.