Add COMGR relative path for build machines

This commit is contained in:
Aaron Enye Shi
2019-04-23 18:30:14 +00:00
committed by Siu Chi Chan
parent 716ed30878
commit 6b3095f7cb
+4 -1
View File
@@ -200,7 +200,10 @@ endif()
if(HIP_PLATFORM STREQUAL "hcc")
find_package(amd_comgr REQUIRED CONFIG
PATHS
/opt/rocm/lib/cmake/amd_comgr
/opt/rocm/
PATH_SUFFIXES
cmake/amd_comgr
lib/cmake/amd_comgr
)
MESSAGE(STATUS "Code Object Manager found at ${amd_comgr_DIR}.")
endif()