installed opencv 3.1.0 & CUDA 8.0.44 & cuDNN 5.1.5 on GTX 1070 compile success !!
compile test program (tan_triggs algorithm) https://github.com/bytefish/opencv/blob/master/misc/tan_triggs.cpp
./test aaa.jpg bbb.jpg success !! but too slow , too slow !!! about over 3.0 sec.
what's the problem? (opencv 3.1.0 problem? Linux Kernel Problem? cuda version problem?, GTX 1070 problem? )
and solution?
I tested same program in other machines.
Test 1: opencv 3.1.0 & CUDA 7.5 on Titan X (Maxwell) 0.04 sec (kernel 4.2.0-35-generic ubuntu 14.04)
Test 2: opencv 3.1.0 & CUDA 7.0 on Tital X (Maxwell) 0.04 sec (kernel 3.19.0-56-generic ubuntu 14.04)
Test 3 : opencv 2.4.9 & CUDA 7.0 on Titan X(Maxwell) 0.04 sec (kernel 3.19.0-56-generic ubuntu 14.04)
Test 4: opencv 2.4.7 & no CUDA lib on GTX 1070 0.04 sec (kernel 3.13.0-100-generic ubuntu 14.04)
the time result is belows (in the same machine OpenCV 3.1.0, CUDA 8.0.44 , Ubuntu 14.04 kernel 3.13.0-100-generic)
-== opencv 2.4.7 (apt-get install ) and no cuda ==-
time ./test aaa.jpg ooo.jpg
real 0m0.042s user 0m0.024s sys 0m0.016s
-== opencv 3.1.0 (source install) and cuda 8.0 ==-
time ./test aaa.jpg bb.jpg
real 0m4.279s user 0m0.012s sys 0m1.744s
Please let me know the reason and solution ....