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

[ROCm/hip commit: 40e72dcd4a]
Tento commit je obsažen v:
Ben Sander
2016-04-08 02:17:29 -05:00
rodič 85f22fe7db
revize c09e4adc03
5 změnil soubory, kde provedl 5 přidání a 5 odebrání
+1 -1
Zobrazit soubor
@@ -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
Zobrazit soubor
@@ -1,4 +1,4 @@
HIP_PATH=../../..
HIP_PATH?=../../..
HIPCC=$(HIP_PATH)/bin/hipcc
all: square.hip.out