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

This commit is contained in:
Ben Sander
2016-04-08 02:17:29 -05:00
parent 0ac41ad143
commit 40e72dcd4a
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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 -1
View File
@@ -1,4 +1,4 @@
HIP_PATH=../../..
HIP_PATH?=../../..
HIPCC=$(HIP_PATH)/bin/hipcc
all: square.hip.out
+1 -1
View File
@@ -1,4 +1,4 @@
HIP_PATH=../../..
HIP_PATH?=../../..
HIPCC=$(HIP_PATH)/bin/hipcc
EXE=hipBusBandwidth
+1 -1
View File
@@ -1,4 +1,4 @@
HIP_PATH=../../..
HIP_PATH?=../../..
HIPCC=$(HIP_PATH)/bin/hipcc
EXE=hipDispatchLatency
+1 -1
View File
@@ -1,4 +1,4 @@
HIP_PATH=../../..
HIP_PATH?=../../..
HIPCC=$(HIP_PATH)/bin/hipcc
EXE=hipInfo