Use HIP_PATH if set else use relative ../...

[ROCm/hip-tests commit: ac798c2997]
This commit is contained in:
Ben Sander
2016-04-08 02:17:29 -05:00
parent 705c9d60aa
commit 868fee2a78
5 changed files with 5 additions and 5 deletions
@@ -1,6 +1,6 @@
#Dependencies : [MYHIP]/bin must be in user's path.
HIP_PATH=../../..
HIP_PATH=?../../..
HIP_PLATFORM=$(shell $(HIP_PATH)/bin/hipconfig --platform)
HIPCC=$(HIP_PATH)/bin/hipcc
@@ -1,4 +1,4 @@
HIP_PATH=../../..
HIP_PATH?=../../..
HIPCC=$(HIP_PATH)/bin/hipcc
all: square.hip.out
@@ -1,4 +1,4 @@
HIP_PATH=../../..
HIP_PATH?=../../..
HIPCC=$(HIP_PATH)/bin/hipcc
EXE=hipBusBandwidth
@@ -1,4 +1,4 @@
HIP_PATH=../../..
HIP_PATH?=../../..
HIPCC=$(HIP_PATH)/bin/hipcc
EXE=hipDispatchLatency
@@ -1,4 +1,4 @@
HIP_PATH=../../..
HIP_PATH?=../../..
HIPCC=$(HIP_PATH)/bin/hipcc
EXE=hipInfo