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 v4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinma committed May 10, 2021
1 parent 15ab2af commit 341d5b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/device_runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ find_package_handle_standard_args(
"One of these files not found: {ockl.bc}"
ATMI_DE_DEP_LIBHSA_LIBRARIES_DIRS)

if(ATMI_DE_DEP_LIB_FOUND)
libatmi_runtime_say("Preparing to build device_runtime with GFX_VER=${GFX_VER}")
else()
if(NOT ATMI_DE_DEP_LIB_FOUND)
libatmi_runtime_say("Not building ATMI Device Runtime: ROCm Device Libs not found.")
return()
endif()
Expand Down
4 changes: 3 additions & 1 deletion src/runtime/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ find_path (amd_comgr_INCLUDE_DIRS
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)
ENV CPATH
PATH_SUFFIXES include)

set(amd_comgr_LIBRARIES amd_comgr)
include_directories(${amd_comgr_INCLUDE_DIRS})
Expand Down

0 comments on commit 341d5b3

Please sign in to comment.