Fix makefiles in samples

This commit is contained in:
Maneesh Gupta
2016-04-18 10:15:35 +05:30
parent dfea14c5d4
commit bcaefb81fc
6 changed files with 24 additions and 6 deletions
+4 -1
View File
@@ -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