Skip to content

Commit 85b446b

Browse files
committed
another way
1 parent 994b89d commit 85b446b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ rodinia_2.0-ft:
7070
# Purdue microbenchmarks for added functionality
7171
###################################################################################################3
7272
microbench:
73-
$(SETENV) make $(MAKE_ARGS) -C cuda/microbench cuda-$(CUDA_VERSION_MAJOR)
73+
$(SETENV) make $(MAKE_ARGS) -C cuda/microbench cuda-$(CUDA_VERSION_MAJOR) -j8
7474

7575
###################################################################################################3
7676
# For Dragon, we need to change the archs manually! (TO DO)
@@ -107,12 +107,12 @@ dragon-cdp: dragon-naive
107107

108108
GPU_Microbenchmark:
109109
mkdir -p $(BINDIR)/$(BINSUBDIR)/
110-
$(SETENV) make $(MAKE_ARGS) -C cuda/GPU_Microbenchmark
110+
$(SETENV) make $(MAKE_ARGS) -C cuda/GPU_Microbenchmark -j8
111111
cp -r cuda/GPU_Microbenchmark/bin/* $(BINDIR)/$(BINSUBDIR)/
112112

113113

114114
Deepbench_nvidia:
115-
$(SETENV) make $(MAKE_ARGS) -C cuda/DeepBench/code/nvidia
115+
$(SETENV) make $(MAKE_ARGS) -C cuda/DeepBench/code/nvidia -j8
116116
cp -r cuda/DeepBench/code/nvidia/bin/conv_bench* $(BINDIR)/$(BINSUBDIR)/
117117
cp -r cuda/DeepBench/code/nvidia/bin/gemm_bench* $(BINDIR)/$(BINSUBDIR)/
118118
cp -r cuda/DeepBench/code/nvidia/bin/rnn_bench* $(BINDIR)/$(BINSUBDIR)/
@@ -432,7 +432,7 @@ cutlass:
432432
mkdir -p $(BINDIR)/$(BINSUBDIR)/
433433
echo $(BINDIR)
434434
git submodule init && git submodule update
435-
$(SETENV) mkdir -p cuda/cutlass-bench/build && cd cuda/cutlass-bench/build && cmake .. -DUSE_GPGPUSIM=1 -DCUTLASS_NVCC_ARCHS=80 -DCMAKE_CUDA_ARCHITECTURES=80 -DCMAKE_CUDA_COMPILER=$(CUDA_INSTALL_PATH)/bin/nvcc && make cutlass_profiler -j12 && make cutlass_examples
435+
$(SETENV) mkdir -p cuda/cutlass-bench/build && cd cuda/cutlass-bench/build && cmake .. -DUSE_GPGPUSIM=1 -DCUTLASS_NVCC_ARCHS=80 -DCMAKE_CUDA_ARCHITECTURES=80 -DCMAKE_CUDA_COMPILER=$(CUDA_INSTALL_PATH)/bin/nvcc && make cutlass_profiler -j12 && make cutlass_examples -j8
436436
echo $(BINDIR)
437437
cp cuda/cutlass-bench/build/tools/profiler/cutlass_profiler $(BINDIR)/$(BINSUBDIR)/cutlass_profiler
438438
find cuda/cutlass-bench/build/examples -type f -executable -exec sh -c 'cp "$$1" "$(BINDIR)/$(BINSUBDIR)/cutlass_$$(basename "$$1")"' sh {} \;

test-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ fi
1515
export PATH=$CUDA_INSTALL_PATH/bin:$PATH;
1616

1717
source src/setup_environment
18-
make -C src/ -j4
18+
make -C src/

0 commit comments

Comments
 (0)