Add new hipdemangleatp and snapshot sample update for new functionality

Change-Id: Ie19c683b2b0bdfeb0c3fcf89444c2e21b7f606e7
This commit is contained in:
Ben Sander
2016-10-27 20:37:46 -05:00
parent 23dc2f02cd
commit f8c4fa982a
5 changed files with 218 additions and 191 deletions
+2 -4
View File
@@ -1,7 +1,4 @@
HIP_PATH?= $(wildcard /opt/rocm/hip)
ifeq (,$(HIP_PATH))
HIP_PATH=../../..
endif
HIPCC=$(HIP_PATH)/bin/hipcc
all: square.hip.out
@@ -11,9 +8,10 @@ square.cuda.out : square.cu
#hipify square.cu > square.cpp
# Then review & finish port in square.cpp
#
square.hip.out: square.hipref.cpp
$(HIPCC) square.hipref.cpp -o $@
$(HIPCC) $(CXXFLAGS) square.hipref.cpp -o $@