aboutsummaryrefslogtreecommitdiff
path: root/redist
diff options
context:
space:
mode:
Diffstat (limited to 'redist')
-rw-r--r--redist/Makefile2
-rw-r--r--redist/test_dcl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/redist/Makefile b/redist/Makefile
index 0d74106..1437758 100644
--- a/redist/Makefile
+++ b/redist/Makefile
@@ -7,7 +7,7 @@ lintest : lintest.c linmath.c linmath.h
gcc -g -O0 -o $@ $^ -lm
test_dcl : test_dcl.c dclhelpers.c minimal_opencv.c ../src/epnp/epnp.c
- gcc -o $@ $^ os_generic.c -DFLT=double -lpthread -lcblas -lm -llapacke
+ gcc -o $@ $^ os_generic.c -DFLT=double -lpthread -lcblas -lm -llapacke -O3 -msse2 -ftree-vectorize
clean :
rm -rf *.o *~ jsmntest lintest
diff --git a/redist/test_dcl.c b/redist/test_dcl.c
index ded2863..cc120ac 100644
--- a/redist/test_dcl.c
+++ b/redist/test_dcl.c
@@ -91,7 +91,7 @@ void compareToCblasTrans() {
cvMulTransposed(&Em1, &Em1tEm1, 1, 0, 1);
print_mat(&Em1tEm1);
- test_dcldgemm_speed("Trans", 1, 0,
+ test_dcldgemm_speed("Trans", 0, 0,
n, // # of rows in OP(A) == em1' -- 20
n, // # of cols in OP(B) == em1 -- 20
m, // # of cols in OP(A) == em1' -- 12