Unverified Commit 4bbd7f51 authored by Ziyue Yang's avatar Ziyue Yang Committed by GitHub
Browse files

Benchmarks: Build Pipeline - Add FIO benchmark tool (#127)

**Description**
Add FIO benchmark tool into third-party dependency.

**Major Revision**
- Add FIO submodule into third-party directory and modify Makefile to enable it.
parent 419dea26
......@@ -8,3 +8,7 @@
[submodule "third_party/nccl-tests"]
path = third_party/nccl-tests
url = https://github.com/NVIDIA/nccl-tests.git
[submodule "third_party/fio"]
path = third_party/fio
url = https://github.com/axboe/fio.git
branch = master
......@@ -6,10 +6,10 @@
SB_MICRO_PATH ?= "/usr/local"
MPI_HOME_PATH ?= "/usr/local/mpi"
.PHONY: all cutlass bandwidthTest nccl_tests perftest
.PHONY: all cutlass bandwidthTest nccl_tests perftest fio
# Build all targets.
all: cutlass bandwidthTest nccl_tests perftest
all: cutlass bandwidthTest nccl_tests perftest fio
# Create $(SB_MICRO_PATH)/bin and $(SB_MICRO_PATH)/lib, no error if existing, make parent directories as needed.
sb_micro_path:
......@@ -17,7 +17,7 @@ sb_micro_path:
mkdir -p $(SB_MICRO_PATH)/lib
# Build cutlass.
cutlass:
cutlass:
ifneq (,$(wildcard cutlass/CMakeLists.txt))
cmake -DCMAKE_INSTALL_BINDIR=$(SB_MICRO_PATH)/bin -DCMAKE_INSTALL_LIBDIR=$(SB_MICRO_PATH)/lib -DCMAKE_BUILD_TYPE=Release \
-DCUTLASS_NVCC_ARCHS='70;80' -DCUTLASS_ENABLE_EXAMPLES=OFF -DCUTLASS_ENABLE_TESTS=OFF -S ./cutlass -B ./cutlass/build
......@@ -44,8 +44,13 @@ endif
# Build perftest.
# The version we use is the tag v4.5-0.2.
perftest:
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
# Build FIO from commit 0313e9 (fio-3.27 tag).
fio:
ifneq (,$(wildcard fio/Makefile))
cd ./fio && ./configure --prefix=$(SB_MICRO_PATH) && make -j && make install
endif
Subproject commit 0313e938c9c8bb37d71dade239f1f5326677b079
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment