module_api/Makefile: Update as per newer hipgenisa.sh

Change-Id: I479c74eae00d7521434f2740ce5930e326ea05cf
This commit is contained in:
Maneesh Gupta
2016-09-06 17:47:10 +05:30
parent e2469d5c55
commit 2145e2ba61
+1 -5
View File
@@ -5,17 +5,13 @@ endif
HIPCC=$(HIP_PATH)/bin/hipcc
HIP_PLATFORM=$(shell $(HIP_PATH)/bin/hipconfig --compiler)
ifeq (${HIP_PLATFORM}, hcc)
GENCO_FLAGS=--target-isa=fiji
endif
all: vcpy_kernel.code runKernel.hip.out
runKernel.hip.out: runKernel.cpp
$(HIPCC) $(HIPCC_FLAGS) $< -o $@
vcpy_kernel.code: vcpy_kernel.cpp
$(HIPCC) --genco $(GENCO_FLAGS) $< -o $@
$(HIPCC) --genco $(GENCO_FLAGS) $^ -o $@
clean:
rm -f *.code *.out