Unverified Commit 02923660 authored by Yuting Jiang's avatar Yuting Jiang Committed by GitHub
Browse files

Benchmarks: Build Pipeline - Add suppport for cpu-only perftest in makefile (#480)



**Description**
Add suppport to install cpu-only perftest in makefile.
Co-authored-by: default avatarYuting Jiang <yuting.jiang@microsoft.com>
Co-authored-by: default avatarPeng Cheng <chengpeng5555@outlook.com>
parent bbb86c4a
...@@ -17,6 +17,7 @@ ROCBLAS_BRANCH ?= rocm-$(shell dpkg -l | grep 'rocm-dev ' | awk '{print $$3}' | ...@@ -17,6 +17,7 @@ ROCBLAS_BRANCH ?= rocm-$(shell dpkg -l | grep 'rocm-dev ' | awk '{print $$3}' |
all: cuda rocm all: cuda rocm
cuda: common cuda_cutlass cuda_bandwidthTest cuda_nccl_tests cuda_perftest gpcnet cuda_gpuburn cuda: common cuda_cutlass cuda_bandwidthTest cuda_nccl_tests cuda_perftest gpcnet cuda_gpuburn
rocm: common rocm_perftest rocm_rccl_tests rocm_rocblas rocm_bandwidthTest rocm: common rocm_perftest rocm_rccl_tests rocm_rocblas rocm_bandwidthTest
cpu: common cpu_perftest
common: fio cpu_stream common: fio cpu_stream
# Create $(SB_MICRO_PATH)/bin and $(SB_MICRO_PATH)/lib, no error if existing, make parent directories as needed. # Create $(SB_MICRO_PATH)/bin and $(SB_MICRO_PATH)/lib, no error if existing, make parent directories as needed.
...@@ -71,6 +72,10 @@ rocm_perftest: ...@@ -71,6 +72,10 @@ rocm_perftest:
ifneq (,$(wildcard perftest/autogen.sh)) ifneq (,$(wildcard perftest/autogen.sh))
cd perftest && ./autogen.sh && ./configure --enable-rocm --with-rocm=/opt/rocm --prefix=$(SB_MICRO_PATH) && make -j && make install cd perftest && ./autogen.sh && ./configure --enable-rocm --with-rocm=/opt/rocm --prefix=$(SB_MICRO_PATH) && make -j && make install
endif endif
cpu_perftest:
ifneq (,$(wildcard perftest/autogen.sh))
cd perftest && ./autogen.sh && ./configure --prefix=$(SB_MICRO_PATH) && make -j && make install
endif
# Build FIO from commit d83ac9 (fio-3.28 tag). # Build FIO from commit d83ac9 (fio-3.28 tag).
fio: fio:
......
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