2
0
Ficheiros
rocm-systems/samples/1_Utils/hipBusBandwidth/Makefile
T

21 linhas
313 B
Makefile
Em bruto Vista normal Histórico

2016-04-18 10:15:35 +05:30
HIP_PATH?= $(wildcard /opt/rocm/hip)
ifeq (,$(HIP_PATH))
HIP_PATH=../../..
endif
HIPCC=$(HIP_PATH)/bin/hipcc
EXE=hipBusBandwidth
2016-02-13 03:17:42 -06:00
CXXFLAGS = -O3 -g
all: install
$(EXE): hipBusBandwidth.cpp ResultDatabase.cpp
2016-02-13 03:17:42 -06:00
$(HIPCC) $(CXXFLAGS) $^ -o $@
install: $(EXE)
cp $(EXE) $(HIP_PATH)/bin
clean:
rm -f *.o $(EXE)