파일
rocm-systems/samples/1_Utils/hipBusBandwidth/Makefile
T
2016-02-13 03:17:42 -06:00

18 라인
263 B
Makefile

HIP_PATH?=$(shell hipconfig -p)
HIPCC=$(HIP_PATH)/bin/hipcc
EXE=hipBusBandwidth
CXXFLAGS = -O3 -g
all: install
$(EXE): hipBusBandwidth.cpp ResultDatabase.cpp
$(HIPCC) $(CXXFLAGS) $^ -o $@
install: $(EXE)
cp $(EXE) $(HIP_PATH)/bin
clean:
rm -f *.o $(EXE)