diff options
Diffstat (limited to 'SD-VBS/benchmarks/disparity/data/sim_fast')
| -rw-r--r-- | SD-VBS/benchmarks/disparity/data/sim_fast/c.txt | 19 | ||||
| -rwxr-xr-x | SD-VBS/benchmarks/disparity/data/sim_fast/disparity | bin | 48256 -> 0 bytes | |||
| -rw-r--r-- | SD-VBS/benchmarks/disparity/data/sim_fast/expected_C.txt | 48 | ||||
| -rw-r--r-- | SD-VBS/benchmarks/disparity/data/sim_fast/m.txt | 35 |
4 files changed, 102 insertions, 0 deletions
diff --git a/SD-VBS/benchmarks/disparity/data/sim_fast/c.txt b/SD-VBS/benchmarks/disparity/data/sim_fast/c.txt new file mode 100644 index 0000000..db5ace4 --- /dev/null +++ b/SD-VBS/benchmarks/disparity/data/sim_fast/c.txt | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | gcc -DGCC -DTIMING -Dsim_fast -lm -O2 -I../../../C_common -I../../C ../../../C_common/calcSobel_dX.c ../../../C_common/calcSobel_dY.c ../../../C_common/fDeepCopy.c ../../../C_common/fDeepCopyRange.c ../../../C_common/fDivide.c ../../../C_common/ffConv2.c ../../../C_common/ffConv2_dY.c ../../../C_common/ffDivide.c ../../../C_common/ffiConv2.c ../../../C_common/fFind3.c ../../../C_common/ffTimes.c ../../../C_common/ffVertcat.c ../../../C_common/fHorzcat.c ../../../C_common/fiConv2.c ../../../C_common/fiDeepCopy.c ../../../C_common/fMallocHandle.c ../../../C_common/fMdivide.c ../../../C_common/fMinus.c ../../../C_common/fMtimes.c ../../../C_common/fPlus.c ../../../C_common/fReshape.c ../../../C_common/fSelfCheck.c ../../../C_common/fSetArray.c ../../../C_common/fSort.c ../../../C_common/fSortIndices.c ../../../C_common/fSum2.c ../../../C_common/fSum.c ../../../C_common/fTimes.c ../../../C_common/fTranspose.c ../../../C_common/horzcat.c ../../../C_common/iDeepCopy.c ../../../C_common/iDeepCopyRange.c ../../../C_common/iHorzcat.c ../../../C_common/iiConv2.c ../../../C_common/imageBlur.c ../../../C_common/imageResize.c ../../../C_common/iMallocHandle.c ../../../C_common/iMinus.c ../../../C_common/iReshape.c ../../../C_common/iSetArray.c ../../../C_common/isMinus.c ../../../C_common/iSort.c ../../../C_common/iSortIndices.c ../../../C_common/isPlus.c ../../../C_common/iTimes.c ../../../C_common/iTranspose.c ../../../C_common/makeImage.c ../../../C_common/photonEndTiming.c ../../../C_common/photonPrintTiming.c ../../../C_common/photonReportTiming.c ../../../C_common/photonStartTiming.c ../../../C_common/readFile.c ../../../C_common/readImage.c ../../../C_common/selfCheck.c ../../C/computeSAD.c ../../C/correlateSAD_2D.c ../../C/finalSAD.c ../../C/findDisparity.c ../../C/getDisparity.c ../../C/integralImage2D2D.c ../../C/padarray2.c ../../C/padarray4.c ../../C/script_disparity.c -o disparity | ||
| 2 | Running C Version of the benchmark | ||
| 3 | ./disparity ../../data/sim_fast ../result | ||
| 4 | Image paths are ../../data/sim_fast/1.bmp ../../data/sim_fast/2.bmp | ||
| 5 | bits per pixel 24 | ||
| 6 | bits per pixel 24 | ||
| 7 | 48 64 | ||
| 8 | 4 4 | ||
| 9 | right - 52 68 | ||
| 10 | left - 52 68 | ||
| 11 | right - 52 68 | ||
| 12 | left - 52 68 | ||
| 13 | right - 52 68 | ||
| 14 | left - 52 68 | ||
| 15 | success | ||
| 16 | right - 52 68 | ||
| 17 | left - 52 68 | ||
| 18 | 48 64 | ||
| 19 | Cycles elapsed = 4933959 0 | ||
diff --git a/SD-VBS/benchmarks/disparity/data/sim_fast/disparity b/SD-VBS/benchmarks/disparity/data/sim_fast/disparity deleted file mode 100755 index 342a31e..0000000 --- a/SD-VBS/benchmarks/disparity/data/sim_fast/disparity +++ /dev/null | |||
| Binary files differ | |||
diff --git a/SD-VBS/benchmarks/disparity/data/sim_fast/expected_C.txt b/SD-VBS/benchmarks/disparity/data/sim_fast/expected_C.txt new file mode 100644 index 0000000..68538c1 --- /dev/null +++ b/SD-VBS/benchmarks/disparity/data/sim_fast/expected_C.txt | |||
| @@ -0,0 +1,48 @@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 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 0 1 1 1 0 0 0 | ||
| 46 | 0 1 1 1 1 1 1 1 2 2 2 0 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 0 0 0 | ||
| 47 | 0 1 1 1 1 1 1 1 2 2 2 0 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 0 0 0 | ||
| 48 | 0 1 1 1 1 1 1 1 2 2 2 0 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 0 0 0 | ||
diff --git a/SD-VBS/benchmarks/disparity/data/sim_fast/m.txt b/SD-VBS/benchmarks/disparity/data/sim_fast/m.txt new file mode 100644 index 0000000..ddc6de6 --- /dev/null +++ b/SD-VBS/benchmarks/disparity/data/sim_fast/m.txt | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | Executing Matlab version of the benchmark disparity | ||
| 2 | disparity | ||
| 3 | Warning: Unable to open display , MATLAB is starting without a display. | ||
| 4 | You will not be able to display graphics on the screen. | ||
| 5 | Warning: No window system found. Java option 'MWT' ignored | ||
| 6 | |||
| 7 | < M A T L A B > | ||
| 8 | Copyright 1984-2006 The MathWorks, Inc. | ||
| 9 | Version 7.3.0.298 (R2006b) | ||
| 10 | August 03, 2006 | ||
| 11 | |||
| 12 | Warning: Name is nonexistent or not a directory: /u/ikkjin/Benchmark/Toolbox/vtune. | ||
| 13 | Warning: Name is nonexistent or not a directory: /u/ikkjin/Benchmark/Toolbox/vtune/include. | ||
| 14 | Warning: Name is nonexistent or not a directory: /u/ikkjin/Benchmark/Toolbox/vtune/lib. | ||
| 15 | |||
| 16 | To get started, type one of these: helpwin, helpdesk, or demo. | ||
| 17 | For product information, visit www.mathworks.com. | ||
| 18 | |||
| 19 | Warning: Function /h/g2/kvs/Desktop/VBS_Ver1.1/common/randn.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. | ||
| 20 | > In path at 113 | ||
| 21 | In script_run_profile at 3 | ||
| 22 | sim_fast | ||
| 23 | We need pathName and fileName as inputs here | ||
| 24 | We need pathName and fileName as inputs here | ||
| 25 | 48 64 | ||
| 26 | |||
| 27 | ../data/sim_fast/expected.m | ||
| 28 | 48 64 | ||
| 29 | |||
| 30 | 48 64 4 | ||
