Files
rocm-systems/tools/p2p-latency-test/Makefile
T
Ziyue Yang b1cddcaf9a Add GPU P2P ping-pong latency test tool (#804)
* Add GPU P2P ping-pong latency test tool

* Address comments

* Fix IPC issue in gfx94x
2023-07-14 07:41:29 -07:00

21 lines
333 B
Makefile

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
HIP_PATH ?= $(wildcard /opt/rocm)
ifeq (,$(HIP_PATH))
HIP_PATH = ../../..
endif
HIPCC = $(HIP_PATH)/bin/hipcc
EXE = p2p_latency_test
CXXFLAGS = -g -O3
files = $(EXE).cpp
all: $(EXE)
$(EXE): $(files)
$(HIPCC) $(CXXFLAGS) $^ -o $@
clean:
rm -f *.o $(EXE)