Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /benchmarks/scripts/run-one_sh.in
ViewVC logotype

Diff of /benchmarks/scripts/run-one_sh.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3164, Sun Mar 29 08:53:37 2015 UTC revision 3165, Sun Mar 29 19:06:39 2015 UTC
# Line 239  Line 239 
239        print -n "\nbmark-cl-$nw "        print -n "\nbmark-cl-$nw "
240        echo "      {" >> $REPORT        echo "      {" >> $REPORT
241        echo "        \"name\" : \"cl-$nw\"," >> $REPORT        echo "        \"name\" : \"cl-$nw\"," >> $REPORT
242        echo "        \"nprocs\" : $cl," >> $REPORT        echo "        \"nprocs\" : $nw," >> $REPORT
243        echo "        \"times\" : [" >> $REPORT        echo "        \"times\" : [" >> $REPORT
244        for ((i=1; $i <= $NRUNS;  i++)) ; do        for ((i=1; $i <= $NRUNS;  i++)) ; do
245          print -n "."          print -n "."
246          RESULT=$( ./bmark-cl -t -n $np | sed -e s/usr=// )          RESULT=$( ./bmark-cl -t -n $nw | sed -e s/usr=// )
247          if (($i == $NRUNS)) ; then          if (($i == $NRUNS)) ; then
248            echo "            $RESULT" >> $REPORT            echo "            $RESULT" >> $REPORT
249          else          else
# Line 251  Line 251 
251          fi          fi
252        done        done
253        echo "          ]" >> $REPORT        echo "          ]" >> $REPORT
254        if (($np < $MAXNW)) ; then        if (($nw < $MAXNW)) ; then
255          echo "      }," >> $REPORT          echo "      }," >> $REPORT
256        elif [ $ENABLE_CUDA = yes ] ; then        elif [ $ENABLE_CUDA = yes ] ; then
257          echo "      }," >> $REPORT          echo "      }," >> $REPORT
# Line 272  Line 272 
272        echo "        \"times\" : [" >> $REPORT        echo "        \"times\" : [" >> $REPORT
273        for ((i=1; $i <= $NRUNS;  i++)) ; do        for ((i=1; $i <= $NRUNS;  i++)) ; do
274          print -n "."          print -n "."
275          RESULT=$( ./bmark-cuda -t -n $np | sed -e s/usr=// )          RESULT=$( ./bmark-cuda -t -n $nw | sed -e s/usr=// )
276          if (($i == $NRUNS)) ; then          if (($i == $NRUNS)) ; then
277            echo "            $RESULT" >> $REPORT            echo "            $RESULT" >> $REPORT
278          else          else
# Line 280  Line 280 
280          fi          fi
281        done        done
282        echo "          ]" >> $REPORT        echo "          ]" >> $REPORT
283        if (($np < $MAXNW)) ; then        if (($nw < $MAXNW)) ; then
284          echo "      }," >> $REPORT          echo "      }," >> $REPORT
285        else        else
286          echo "      }" >> $REPORT          echo "      }" >> $REPORT

Legend:
Removed from v.3164  
changed lines
  Added in v.3165

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0