summaryrefslogtreecommitdiff
path: root/VA/dimes-hetsim-nmc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'VA/dimes-hetsim-nmc.sh')
-rwxr-xr-xVA/dimes-hetsim-nmc.sh24
1 files changed, 18 insertions, 6 deletions
diff --git a/VA/dimes-hetsim-nmc.sh b/VA/dimes-hetsim-nmc.sh
index cabae57..a176027 100755
--- a/VA/dimes-hetsim-nmc.sh
+++ b/VA/dimes-hetsim-nmc.sh
@@ -40,20 +40,20 @@ make -B NUMA=1
(
-echo "CPU single-node operation (1/3)" >&2
+echo "CPU single-node operation (1/4)" >&2
parallel -j1 --eta --joblog ${fn}.1.joblog --resume --header : \
- ./va -i {input_size} -a {ram_in} -b {ram_out} -c {cpu} -t {nr_threads} -w 0 -e 40 \
+ ./va -i {input_size} -a {ram_in} -b {ram_out} -c {cpu} -t {nr_threads} -w 0 -e 20 \
::: ram_in 0 1 \
::: ram_out 0 1 \
::: cpu 0 1 \
::: nr_threads 1 2 4 8 12 16 \
::: input_size 167772160
-echo "CPU multi-node operation (2/3)" >&2
+echo "CPU multi-node operation (2/4)" >&2
parallel -j1 --eta --joblog ${fn}.2.joblog --resume --header : \
- ./va -i {input_size} -a {ram_in} -b {ram_out} -c {cpu} -t {nr_threads} -w 0 -e 40 \
+ ./va -i {input_size} -a {ram_in} -b {ram_out} -c {cpu} -t {nr_threads} -w 0 -e 20 \
::: ram_in 0 1 \
::: ram_out 0 1 \
::: cpu -1 \
@@ -66,11 +66,23 @@ make -B NUMA=1 NUMA_MEMCPY=1
(
-echo "CPU single-node operation with setup cost, cpu/out on same node (3/3)" >&2
+echo "CPU single-node operation with setup cost, memcpy node == input node, cpu node == output node (3/4)" >&2
parallel -j1 --eta --joblog ${fn}.3.joblog --resume --header : \
- ./va -i {input_size} -a {ram_in} -b {ram_out} -c {cpu} -C {cpu} -t {nr_threads} -w 0 -e 40 \
+ ./va -i {input_size} -a {ram_in} -b {ram_out} -c {cpu} -C {cpu} -M {cpu_memcpy} -t {nr_threads} -w 0 -e 20 \
+ ::: ram_in 0 1 \
+ :::+ cpu_memcpy 0 1 \
+ ::: cpu 0 1 \
+ :::+ ram_out 0 1 \
+ ::: nr_threads 1 2 4 8 12 16 \
+ ::: input_size 167772160
+
+echo "CPU single-node operation with setup cost, memcpy node == 0, cpu node == output node (4/4)" >&2
+
+parallel -j1 --eta --joblog ${fn}.4.joblog --resume --header : \
+ ./va -i {input_size} -a {ram_in} -b {ram_out} -c {cpu} -C {cpu} -M {cpu_memcpy} -t {nr_threads} -w 0 -e 20 \
::: ram_in 0 1 \
+ ::: cpu_memcpy 0 \
::: cpu 0 1 \
:::+ ram_out 0 1 \
::: nr_threads 1 2 4 8 12 16 \