Ask Your Question

narutocool's profile - activity

2017-07-17 05:41:42 -0600 asked a question GPUMat and Mat

Hi, I need to do some operation on matrix (subtract, reshape, roi, ...) and I use cuda for parallel treatments. But in the kernel I thought GPUMat was Mat but for kernel. It wasn't the cas and I ask what is the meaning of GPUMat and how do the operation in my kernel without Mat.

Thanks

2017-07-11 16:07:40 -0600 asked a question CUDA more slower than CPU

Hi, I have made my own package of opencv 3.2 with CUDA 8.0 and I run it with Microsoft Visual studio 2015 but when I tried with https://devblogs.nvidia.com/parallelf... my time with GPU are more slower than CPU. I built it in x64 and debug mode, I have an error with <<< for the kernel but the program compil and run

Do you have any idea ?

Thanks

2017-07-06 04:05:56 -0600 received badge  Enthusiast
2017-06-30 03:57:57 -0600 received badge  Editor (source)
2017-06-30 02:47:38 -0600 answered a question Problem with compiling and ts.hpp

Hi, The system is: Linux - 4.4.0-81-generic - x86_64 Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: /usr/bin/c++ Build flags: Id flags:

The output was: 0

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"

The CXX compiler identification is GNU, found in "/usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/3.5.1/CompilerIdCXX/a.out"

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: /usr/bin/cc Build flags: Id flags:

The output was: 0

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"

The C compiler identification is GNU, found in "/usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/3.5.1/CompilerIdC/a.out"

Determining if the CXX compiler works passed with the following output: Change Dir: /usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_5e8e8/fast" /usr/bin/make -f CMakeFiles/cmTC_5e8e8.dir/build.make CMakeFiles/cmTC_5e8e8.dir/build make[1] : on entre dans le répertoire « /usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/CMakeTmp » Building CXX object CMakeFiles/cmTC_5e8e8.dir/testCXXCompiler.cxx.o /usr/bin/c++ -o CMakeFiles/cmTC_5e8e8.dir/testCXXCompiler.cxx.o -c /usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTC_5e8e8 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5e8e8.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/cmTC_5e8e8.dir/testCXXCompiler.cxx.o -o cmTC_5e8e8 -rdynamic make[1] : on quitte le répertoire « /usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/CMakeTmp »

Detecting CXX compiler ABI info compiled with the following output: Change Dir: /usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_91347/fast" /usr/bin/make -f CMakeFiles/cmTC_91347.dir/build.make CMakeFiles/cmTC_91347.dir/build make[1] : on entre dans le répertoire « /usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/CMakeTmp » Building CXX object CMakeFiles/cmTC_91347.dir/CMakeCXXCompilerABI.cpp.o /usr/bin/c++ -o CMakeFiles/cmTC_91347.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp Linking CXX executable cmTC_91347 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_91347.dir/link.txt --verbose=1 /usr/bin/c++ -v CMakeFiles/cmTC_91347.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_91347 -rdynamic
Using built-in specs. COLLECT_GCC=/usr/bin/c++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4 ...
(more)

2017-06-27 13:57:25 -0600 asked a question Problem with compiling and ts.hpp

Hi, I work on stereo vision and I need the extra module stereo so I deciced to make my own opencv bundle with this module. But when I make install my output file doesn't contain the ts file and I need it to test the sample. During the Cmake step, I check and the build opencv_ts is check. I think it's the same problem http://answers.opencv.org/question/13...

CMakeOutput : The system is: Linux - 4.4.0-81-generic - x86_64 Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: /usr/bin/c++ Build flags: Id flags:

The output was: 0

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"

The CXX compiler identification is GNU, found in "/usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/3.5.1/CompilerIdCXX/a.out"

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: /usr/bin/cc Build flags: Id flags:

The output was: 0

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"

The C compiler identification is GNU, found in "/usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/3.5.1/CompilerIdC/a.out"

Determining if the CXX compiler works passed with the following output: Change Dir: /usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_5e8e8/fast" /usr/bin/make -f CMakeFiles/cmTC_5e8e8.dir/build.make CMakeFiles/cmTC_5e8e8.dir/build make[1] : on entre dans le répertoire « /usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/CMakeTmp » Building CXX object CMakeFiles/cmTC_5e8e8.dir/testCXXCompiler.cxx.o /usr/bin/c++ -o CMakeFiles/cmTC_5e8e8.dir/testCXXCompiler.cxx.o -c /usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTC_5e8e8 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5e8e8.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/cmTC_5e8e8.dir/testCXXCompiler.cxx.o -o cmTC_5e8e8 -rdynamic make[1] : on quitte le répertoire « /usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/CMakeTmp »

Detecting CXX compiler ABI info compiled with the following output: Change Dir: /usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_91347/fast" /usr/bin/make -f CMakeFiles/cmTC_91347.dir/build.make CMakeFiles/cmTC_91347.dir/build make[1] : on entre dans le répertoire « /usr/local/home/prousso/opencv_root/build_opencv/CMakeFiles/CMakeTmp » Building CXX object CMakeFiles/cmTC_91347.dir/CMakeCXXCompilerABI.cpp.o /usr/bin/c++ -o CMakeFiles/cmTC_91347.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp Linking CXX executable cmTC_91347 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_91347.dir/link.txt --verbose=1 /usr/bin/c++ -v CMakeFiles/cmTC_91347.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_91347 -rdynamic Using built-in specs. COLLECT_GCC=/usr/bin/c++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time ... (more)