ae0c4092c7
* Adding CPU based execution, fixing typos, adding Fine-grained mem * Exposing sampling factor when generating range of data sizes * Refactoring how Links are launched, now once per thread * Documentation updates
18 строки
372 B
Makefile
18 строки
372 B
Makefile
# Copyright (c) 2019-2020 Advanced Micro Devices, Inc. All rights reserved.
|
|
HIP_PATH?= $(wildcard /opt/rocm/hip)
|
|
ifeq (,$(HIP_PATH))
|
|
HIP_PATH=../../..
|
|
endif
|
|
HIPCC=$(HIP_PATH)/bin/hipcc
|
|
|
|
EXE=TransferBench
|
|
CXXFLAGS = -O3 -I../../src/include -I. -lnuma
|
|
|
|
all: $(EXE)
|
|
|
|
$(EXE): $(EXE).cpp $(shell find -regex ".*\.\hpp")
|
|
$(HIPCC) $(CXXFLAGS) $< -o $@
|
|
|
|
clean:
|
|
rm -f *.o $(EXE)
|