Files
rocm-systems/projects/rccl/tools/p2p-latency-test/Makefile
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
595 B
Makefile
Raw Normal View History

# 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
2023-07-25 20:08:04 -07:00
all: p2p_latency_test ll_latency_test
2023-07-25 20:08:04 -07:00
CXXFLAGS = -g -O3
2023-07-25 20:08:04 -07:00
p2p_latency_test: p2p_latency_test.cpp
@printf "Compiling %-35s > %s\n" $< $@
2023-07-25 20:08:04 -07:00
$(HIPCC) $(CXXFLAGS) $^ -o $@
2023-07-25 20:08:04 -07:00
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