Skip to content

Commit

Permalink
update run benchmark script
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jul 1, 2019
1 parent e1e567f commit a36c408
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions examples/mmclbench/run_bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# format:
# ./run_bench.sh 1234cpugpu <more mmcl parameters>

OPT="-F bin -n 1e6 -D T"
OPT="-F nii -n 1e8 -D T"
EXTRA=${@:2}
CPUEXTRA="-n 1e8 -G -1"
#CPUEXTRA=-L
Expand Down Expand Up @@ -85,17 +85,17 @@ then
echo testing benchmark B3 mmc mode with mmc
./run_test.sh -s b3_mmc $OPT -M S $EXTRA $CPUEXTRA > $OUTPUTDIR/b3_mmc.log

#echo testing benchmark B3 dmmc mode with mmc
#./run_test.sh -s b3_dmmc $OPT -M G -F nii $EXTRA $CPUEXTRA > $OUTPUTDIR/b3_dmmc.log
echo testing benchmark B3 dmmc mode with mmc
./run_test.sh -s b3_dmmc $OPT -M G -F nii $EXTRA $CPUEXTRA > $OUTPUTDIR/b3_dmmc.log
fi

if [ $# -eq 0 ] || [[ $1 =~ "gpu" ]]
then
echo testing benchmark B3 mmc mode with mmcl
./run_test.sh -s b3_mmcl $OPT -G 1 -M S $EXTRA > $OUTPUTDIR/b3_mmcl.log

#echo testing benchmark B3 dmmc mode with mmcl
#./run_dmmc.sh -s b3_dmmcl $OPT -G 1 -M G -F nii $EXTRA > $OUTPUTDIR/b3_dmmcl.log
echo testing benchmark B3 dmmc mode with mmcl
./run_test.sh -s b3_dmmcl $OPT -G 1 -M G -F nii $EXTRA > $OUTPUTDIR/b3_dmmcl.log
fi
fi

Expand Down
2 changes: 1 addition & 1 deletion examples/skinvessel/createsession.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

cfg.unitinmm=0.005;
cfg.node=cfg.node*cfg.unitinmm;
cfg.method='grid';
cfg.method='g';

figure;
subplot(121);
Expand Down
2 changes: 1 addition & 1 deletion examples/skinvessel/dmmc_skinvessel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"DoMismatch": 0,
"OutputType": "flux",
"DebugFlag": "TP",
"RayTracer": "grid",
"RayTracer": "g",
"RNGSeed": 1648335518,
"Photons": 10000000
},
Expand Down
2 changes: 1 addition & 1 deletion examples/skinvessel/skinvessel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"DoMismatch": 0,
"OutputType": "flux",
"DebugFlag": "TP",
"RayTracer": "grid",
"RayTracer": "g",
"RNGSeed": 1648335518,
"Photons": 10000000
},
Expand Down

0 comments on commit a36c408

Please sign in to comment.