Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tsoc
superbenchmark
Commits
419dea26
Unverified
Commit
419dea26
authored
Jul 16, 2021
by
Yuting Jiang
Committed by
GitHub
Jul 16, 2021
Browse files
Benchmarks: Build Pipeline - Add perftest as a submodule and add build logic (#129)
Add perftest as a submodule and add build logic
parent
8c8beb4b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
10 deletions
+14
-10
.gitmodules
.gitmodules
+3
-0
dockerfile/cuda11.1.1.dockerfile
dockerfile/cuda11.1.1.dockerfile
+0
-8
third_party/Makefile
third_party/Makefile
+10
-2
third_party/perftest
third_party/perftest
+1
-0
No files found.
.gitmodules
View file @
419dea26
...
...
@@ -2,6 +2,9 @@
path = third_party/cutlass
url = https://github.com/NVIDIA/cutlass.git
branch = v2.4.0
[submodule "third_party/perftest"]
path = third_party/perftest
url = https://github.com/linux-rdma/perftest.git
[submodule "third_party/nccl-tests"]
path = third_party/nccl-tests
url = https://github.com/NVIDIA/nccl-tests.git
dockerfile/cuda11.1.1.dockerfile
View file @
419dea26
...
...
@@ -85,14 +85,6 @@ RUN cd /tmp && \
cd
/tmp
&&
\
rm
-rf
nccl
# TODO: move to gitmodules
RUN
git clone
-b
v4.5-0.2 https://github.com/linux-rdma/perftest.git /usr/local/perftest
&&
\
cd
/usr/local/perftest
&&
\
./autogen.sh
&&
\
./configure
CUDA_H_PATH
=
/usr/local/cuda/include/cuda.h
&&
\
make
-j
&&
\
make
install
ENV
PATH="${PATH}" \
LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH}" \
SB_HOME="/opt/superbench" \
...
...
third_party/Makefile
View file @
419dea26
...
...
@@ -6,10 +6,10 @@
SB_MICRO_PATH
?=
"/usr/local"
MPI_HOME_PATH
?=
"/usr/local/mpi"
.PHONY
:
all cutlass bandwidthTest nccl_tests
.PHONY
:
all cutlass bandwidthTest nccl_tests
perftest
# Build all targets.
all
:
cutlass bandwidthTest nccl_tests
all
:
cutlass bandwidthTest nccl_tests
perftest
# Create $(SB_MICRO_PATH)/bin and $(SB_MICRO_PATH)/lib, no error if existing, make parent directories as needed.
sb_micro_path
:
...
...
@@ -41,3 +41,11 @@ ifneq (,$(wildcard nccl-tests/Makefile))
cd
./nccl-tests
&&
make
MPI
=
1
MPI_HOME
=
$(MPI_HOME_PATH)
-j
cp
-v
./nccl-tests/build/
*
$(SB_MICRO_PATH)
/bin/
endif
# Build perftest.
# The version we use is the tag v4.5-0.2.
perftest
:
ifneq
(,$(wildcard perftest/autogen.sh))
cd
perftest
&&
./autogen.sh
&&
./configure
CUDA_H_PATH
=
/usr/local/cuda/include/cuda.h
--prefix
=
$(SB_MICRO_PATH)
&&
make
-j
&&
make
install
endif
perftest
@
7504ce48
Subproject commit 7504ce48ac396a02f4d00de359257b2cb8458f06
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment