Files
rocm-systems/tools/p2p-latency-test/Makefile
T
Wenkai Du 1c1ec096e2 tools: Add LL latency test (#820)
* Add LL latency test

* Correct name in usage
2023-07-25 20:08:04 -07:00

19 خطوط
405 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
all: p2p_latency_test ll_latency_test
CXXFLAGS = -g -O3
p2p_latency_test: p2p_latency_test.cpp
$(HIPCC) $(CXXFLAGS) $^ -o $@
ll_latency_test: ll_latency_test.cpp
$(HIPCC) $(CXXFLAGS) $^ -o $@
clean:
rm -f *.o $(EXE)