Replace /opt/hcc -> /opt/rocm/hcc and /opt/hsa -> /opt/rocm/hsa

[ROCm/hip commit: 5a31bad821]
This commit is contained in:
Maneesh Gupta
2016-04-15 12:56:31 +05:30
parent 425c5f9ade
commit 32e35b671d
7 changed files with 21 additions and 21 deletions
+7 -7
View File
@@ -10,24 +10,24 @@ if(UNIX)
NAMES hsa-runtime64
PATHS
ENV HSA_PATH
/opt/hsa
/opt/rocm/hsa
PATH_SUFFIXES
lib)
if( NOT DEFINED ENV{HSA_PATH} )
set( ENV{HSA_PATH} /opt/hsa)
set( ENV{HSA_PATH} /opt/rocm/hsa)
endif()
find_program(HCC
NAMES hcc
PATHS
ENV HCC_PATH
/opt/hcc
/opt/rocm/hcc
PATH_SUFFIXES
/bin)
if( NOT DEFINED ENV{HCC_PATH} )
set( ENV{HCC_PATH} /opt/hcc)
set( ENV{HCC_PATH} /opt/rocm/hcc)
endif()
# this is now dynamic
@@ -35,7 +35,7 @@ if(UNIX)
# NAMES mcwamp
# PATHS
# ENV NCC_PATH
# /opt/hcc
# /opt/rocm/hcc
# PATH_SUFFIXES
# /lib)
@@ -44,7 +44,7 @@ if(UNIX)
hc.hpp
PATHS
ENV NCC_PATH
/opt/hcc
/opt/rocm/hcc
PATH_SUFFIXES
/include)
@@ -70,4 +70,4 @@ if(UNIX)
endif()
else()
message(SEND_ERROR "HCC is currently supported on unix platforms")
endif()
endif()