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

[ROCm/hip commit: 40e72dcd4a]
Tá an tiomantas seo le fáil i:
Ben Sander
2016-04-08 02:17:29 -05:00
tuismitheoir 85f22fe7db
tiomantas c09e4adc03
D'athraigh 5 comhad le 5 breiseanna agus 5 scriosta
+1 -1
Féach ar an gComhad
@@ -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
Féach ar an gComhad
@@ -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 -1
Féach ar an gComhad
@@ -1,4 +1,4 @@
HIP_PATH=../../..
HIP_PATH?=../../..
HIPCC=$(HIP_PATH)/bin/hipcc
EXE=hipInfo