Fix makefiles in samples

This commit is contained in:
Maneesh Gupta
2016-04-18 10:15:35 +05:30
bovenliggende dfea14c5d4
commit bcaefb81fc
6 gewijzigde bestanden met toevoegingen van 24 en 6 verwijderingen
+4 -1
Bestand weergeven
@@ -1,6 +1,9 @@
#Dependencies : [MYHIP]/bin must be in user's path.
HIP_PATH?=../../..
HIP_PATH?= $(wildcard /opt/rocm/hip)
ifeq (,$(HIP_PATH))
HIP_PATH=../../..
endif
HIP_PLATFORM=$(shell $(HIP_PATH)/bin/hipconfig --platform)
HIPCC=$(HIP_PATH)/bin/hipcc