Files
rocm-systems/projects/rccl/tools/p2p-latency-test/Makefile
T
Ameya Keshava Mallya 42d84317cf Add 'projects/rccl/' from commit '1f2f9f33bac3e8ecfd84c69af6063d7352c362fc'
git-subtree-dir: projects/rccl
git-subtree-mainline: 3fd8a0d393
git-subtree-split: 1f2f9f33ba
2025-12-11 20:46:05 +00:00

24 lines
595 B
Makefile

# Copyright (c) Microsoft Corporation.
# Modifications Copyright (c) Advanced Micro Devices, Inc., or its affiliates.
# Licensed under the MIT License.
#
# See LICENSE.txt for license information
ROCM_PATH ?= $(wildcard /opt/rocm)
HIPCC = $(ROCM_PATH)/bin/hipcc
all: p2p_latency_test ll_latency_test
CXXFLAGS = -g -O3
p2p_latency_test: p2p_latency_test.cpp
@printf "Compiling %-35s > %s\n" $< $@
$(HIPCC) $(CXXFLAGS) $^ -o $@
ll_latency_test: ll_latency_test.cpp
@printf "Compiling %-35s > %s\n" $< $@
$(HIPCC) $(CXXFLAGS) $^ -o $@
clean:
rm -f *.o p2p_latency_test ll_latency_test