Browse Source

Added run script, fix for cpu dwt2d benchmark

Fixed a missing type of a variable
Andrea Gussoni 8 years ago
parent
commit
49f0b2387c
2 changed files with 2 additions and 1 deletions
  1. 1 1
      opencl/dwt2d/main.cpp
  2. 1 0
      opencl/dwt2d/run-cpu

+ 1 - 1
opencl/dwt2d/main.cpp

@@ -831,7 +831,7 @@ void processDWT(struct dwt *d, int forward, int writeVisual)
 int main(int argc, char **argv) 
 {
     int optindex = 0;
-    char ch;
+    signed char ch;
     struct option longopts[] = 
 	{
         {"dimension",   required_argument, 0, 'd'}, //dimensions of src img

+ 1 - 0
opencl/dwt2d/run-cpu

@@ -0,0 +1 @@
+./dwt2d -d 1024x1024 -f -5 -l 10 ../../data/dwt2d/rgb.bmp