File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,36 @@ Run all tests::
126
126
127
127
ctest --test-dir build --output-on-failure -L TESTLABEL -j 4
128
128
129
+ Run benchmarks
130
+ ==============
131
+
132
+ Two binaries are build for benchmarks:
133
+
134
+ * mp-bench - for benchmarking `Multi-Process ` model
135
+ * sp-bench - for benchmarking `Single-Process ` model
136
+
137
+ Here are examples of running single benchmarks.
138
+
139
+ Running `GemvEq_DR ` strong scaling benchmark in Multi-Process model using two GPUs::
140
+
141
+ ONEAPI_DEVICE_SELECTOR='level_zero:gpu' I_MPI_OFFLOAD=1 I_MPI_OFFLOAD_CELL_LIST=0-11 \
142
+ mpiexec -n 2 -ppn 2 build/benchmarks/gbench/mp/mp-bench --vector-size 1000000000 --reps 50 \
143
+ --v=3 --benchmark_out=mp_gemv.txt --benchmark_filter=GemvEq_DR/ --sycl
144
+
145
+ Running `Exclusive_Scan_DR ` weak scaling in Single-Process model using two GPUs::
146
+
147
+ ONEAPI_DEVICE_SELECTOR='level_zero:gpu' KMP_AFFINITY=compact \
148
+ build/benchmarks/gbench/sp/sp-bench --vector-size 1000000000 --reps 50 \
149
+ --v=3 --benchmark_out=sp_exclscan.txt --benchmark_filter=Exclusive_Scan_DR/ \
150
+ --weak-scaling --device-memory --num-devices 2
151
+
152
+
153
+ Check all options::
154
+
155
+ ./build/benchmarks/gbench/mp/mp-bench --help # see google test options help
156
+ ./build/benchmarks/gbench/mp/mp-bench --drhelp # see DR specific options
157
+
158
+
129
159
130
160
Examples
131
161
--------
You can’t perform that action at this time.
0 commit comments