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

SCM Repository

[diderot] View of /branches/lamont/test/sum-reduction/runSingle.sh
ViewVC logotype

View of /branches/lamont/test/sum-reduction/runSingle.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2541 - (download) (as text) (annotate)
Tue Feb 4 13:47:02 2014 UTC (5 years, 7 months ago) by lamonts
File size: 589 byte(s)
Adding files for sum-reduction benchmark
#!/bin/bash

if [ "$1" == "p" ]; then 
echo "Running Pthread of Sum Reduction"
../../bin/diderotc --log --double --target=pthread --exec sum-reduction.diderot
./sum-reduction -timing -nNumbers $2 -np $3 -wgsize $4
#gcc -Wall -std=c99 -I/usr/local/teem/include  -L/usr/local/teem/lib -lteem readNrrd.c 
#./a.out 
rm sum.nrrd
else 
echo "Running Sequential of Sum Reduction"
../../bin/diderotc --log --double --target=c --exec sum-reduction.diderot	
./sum-reduction -timing -nNumbers $2 
fi 
#gcc -Wall -std=c99 -I/usr/local/teem/include  -L/usr/local/teem/lib -lteem readNrrd.c -o readNrrd

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