From d21999e85f29edae7de8abdfb293da870e7fad47 Mon Sep 17 00:00:00 2001 From: cnlohr Date: Sun, 18 Mar 2018 02:11:20 -0400 Subject: trying new config mode --- redist/Makefile | 2 +- redist/test_dcl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'redist') 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 -- cgit v1.2.3