Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
ATMI Release for ROCm v5.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinma committed Oct 28, 2022
1 parent 79841ea commit 6d7d46e
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions src/runtime/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,9 @@ include_directories(${LIBELF_INCLUDE_DIRS})
# libatmi_runtime_say("LIBELF: ${LIBELF_INCLUDE_DIRS} ${LIBELF_LIBRARIES} and ${LIBELF_FOUND}")

# Find comgr
find_package(amd_comgr REQUIRED CONFIG
HINTS ${ROC_DIR} ${ROC_COMGR_CONFIG_DIR})
find_path (amd_comgr_INCLUDE_DIRS
NAMES
amd_comgr.h
PATHS
${ROCM_INCLUDE_DIRS}
${ROC_DIR}
${ROC_COMGR_INCLUDE_DIR}
${ROC_COMGR_INCLUDE_DIR}/include
/opt/rocm/include
/usr/include
/usr/local/include
ENV CPATH
PATH_SUFFIXES include)
find_package(amd_comgr REQUIRED)

set(amd_comgr_LIBRARIES amd_comgr)
include_directories(${amd_comgr_INCLUDE_DIRS})
# libatmi_runtime_say("amd_comgr: ${amd_comgr_INCLUDE_DIRS} ${amd_comgr_LIBRARIES} and ${amd_comgr_FOUND}")

if(CMAKE_SYSTEM_PROCESSOR MATCHES "(ppc64le)|(aarch64)$")
add_definitions(-DLITTLEENDIAN_CPU=1)
Expand Down

0 comments on commit 6d7d46e

Please sign in to comment.