- 29 Oct, 2018 1 commit
-
-
WuZhiwen authored
* dnn: Add a Vulkan based backend This commit adds a new backend "DNN_BACKEND_VKCOM" and a new target "DNN_TARGET_VULKAN". VKCOM means vulkan based computation library. This backend uses Vulkan API and SPIR-V shaders to do the inference computation for layers. The layer types that implemented in DNN_BACKEND_VKCOM include: Conv, Concat, ReLU, LRN, PriorBox, Softmax, MaxPooling, AvePooling, Permute This is just a beginning work for Vulkan in OpenCV DNN, more layer types will be supported and performance tuning is on the way. Signed-off-by:
Wu Zhiwen <zhiwen.wu@intel.com> * dnn/vulkan: Add FindVulkan.cmake to detect Vulkan SDK In order to build dnn with Vulkan support, need installing Vulkan SDK and setting environment variable "VULKAN_SDK" and add "-DWITH_VULKAN=ON" to cmake command. You can download Vulkan SDK from: https://vulkan.lunarg.com/sdk/home#linux For how to install, see https://vulkan.lunarg.com/doc/sdk/latest/linux/getting_started.html https://vulkan.lunarg.com/doc/sdk/latest/windows/getting_started.html https://vulkan.lunarg.com/doc/sdk/latest/mac/getting_started.html respectively for linux, windows and mac. To run the vulkan backend, also need installing mesa driver. On Ubuntu, use this command 'sudo apt-get install mesa-vulkan-drivers' To test, use command '$BUILD_DIR/bin/opencv_test_dnn --gtest_filter=*VkCom*' Signed-off-by:
Wu Zhiwen <zhiwen.wu@intel.com> * dnn/Vulkan: dynamically load Vulkan runtime No compile-time dependency on Vulkan library. If Vulkan runtime is unavailable, fallback to CPU path. Use environment "OPENCL_VULKAN_RUNTIME" to specify path to your own vulkan runtime library. Signed-off-by:
Wu Zhiwen <zhiwen.wu@intel.com> * dnn/Vulkan: Add a python script to compile GLSL shaders to SPIR-V shaders The SPIR-V shaders are in format of text-based 32-bit hexadecimal numbers, and inserted into .cpp files as unsigned int32 array. * dnn/Vulkan: Put Vulkan headers into 3rdparty directory and some other fixes Vulkan header files are copied from https://github.com/KhronosGroup/Vulkan-Docs/tree/master/include/vulkan to 3rdparty/include Fix the Copyright declaration issue. Refine OpenCVDetectVulkan.cmake * dnn/Vulkan: Add vulkan backend tests into existing ones. Also fixed some test failures. - Don't use bool variable as uniform for shader - Fix dispathed group number beyond max issue - Bypass "group > 1" convolution. This should be support in future. * dnn/Vulkan: Fix multiple initialization in one thread.
-
- 06 Mar, 2018 2 commits
-
-
Maksim Shabunin authored
-
Maksim Shabunin authored
-
- 21 Jul, 2017 1 commit
-
-
Alexander Alekhin authored
-
- 01 Jul, 2015 1 commit
-
-
Alexander Alekhin authored
-
- 16 Jan, 2014 1 commit
-
-
Dinar Valeev authored
This fixes build on PowerPC where Eigen unsets vector, bool and pixel Signed-off-by:
Dinar Valeev <dvaleev@suse.com>
-
- 13 Jan, 2014 1 commit
-
-
ahb authored
OpenCV Error: Unknown error code -6 (OpenCL function is not available: [clGetPlatformIDs]) in opencl_check_fn, file /home/ahb/software/opencv/modules/ocl/src/cl_runtime/cl_runtime.cpp, line 83 The issue results from modules/ocl/src/cl_runtime/cl_runtime.cpp checking for "linux" instead of "__linux__" (cp. http://sourceforge.net/p/predef/wiki/OperatingSystems/) Adjust all other occurrences of "defined(linux)" as well.
-
- 26 Dec, 2013 1 commit
-
-
Andrey Pavlenko authored
-
- 04 Dec, 2013 1 commit
-
-
Roman Donchenko authored
_MSC_VER -> defined _MSC_VER. Fixes building with MinGW. Similar to fbc91c5e.
-
- 22 Nov, 2013 1 commit
-
-
Alexander Alekhin authored
-
- 18 Oct, 2013 1 commit
-
-
Alexander Alekhin authored
-
- 17 Oct, 2013 1 commit
-
-
Alexander Karsakov authored
folowing additional options: --enable-w32threads, --arch=i686 (for 32-bit library, workaround for http://trac.ffmpeg.org/ticket/2363)
-
- 17 Oct, 2012 2 commits
-
-
OpenCV Buildbot authored
-
OpenCV Buildbot authored
-
- 18 May, 2012 1 commit
-
-
Andrey Kamaev authored
-
- 17 May, 2012 1 commit
-
-
Andrey Kamaev authored
-
- 13 Apr, 2012 1 commit
-
-
Vadim Pisarevsky authored
-
- 09 Apr, 2012 1 commit
-
-
Vadim Pisarevsky authored
-
- 16 Aug, 2011 1 commit
-
-
Vadim Pisarevsky authored
-
- 23 Jun, 2011 1 commit
-
-
Vadim Pisarevsky authored
-
- 16 Jun, 2011 4 commits
-
-
Alexander Shishkov authored
-
Vadim Pisarevsky authored
-
Vadim Pisarevsky authored
-
Vadim Pisarevsky authored
-
- 15 Jun, 2011 1 commit
-
-
Vadim Pisarevsky authored
-
- 26 Apr, 2011 1 commit
-
-
Vadim Pisarevsky authored
-
- 25 Apr, 2011 1 commit
-
-
Vadim Pisarevsky authored
-
- 12 Oct, 2010 1 commit
-
-
Marius Muja authored
-
- 14 Sep, 2010 1 commit
-
-
Vadim Pisarevsky authored
-
- 02 Sep, 2010 1 commit
-
-
Vadim Pisarevsky authored
-
- 30 Aug, 2010 1 commit
-
-
Vadim Pisarevsky authored
-
- 06 Aug, 2010 2 commits
-
-
Vadim Pisarevsky authored
-
Vadim Pisarevsky authored
-
- 05 Aug, 2010 1 commit
-
-
Vadim Pisarevsky authored
-
- 16 Jul, 2010 2 commits
-
-
Vadim Pisarevsky authored
-
Vadim Pisarevsky authored
updated 3rd party libs: CLapack 3.1.1.1 => 3.2.1, zlib 1.2.3 => 1.2.5, libpng 1.2.x => 1.4.3, libtiff 3.7.x => 3.9.4. fixed many 64-bit related VS2010 warnings
-
- 04 Jul, 2010 1 commit
-
-
Vadim Pisarevsky authored
-
- 21 May, 2010 1 commit
-
-
Vadim Pisarevsky authored
-
- 11 May, 2010 1 commit
-
-
Vadim Pisarevsky authored
-