Merge pull request #13008 from dbudniko:dbudniko/gpu_opencl_backend
authorDmitry Budnikov <Dmitry.Budnikov@intel.com>
Thu, 8 Nov 2018 19:14:53 +0000 (22:14 +0300)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Thu, 8 Nov 2018 19:14:53 +0000 (22:14 +0300)
commit5087ff08146ce957f6b8f9df56669ede451f98f2
treecf87c0981f468cedbd10a13b9d5da1575434b701
parentebc801563803239939db4ac968aba17493739982
Merge pull request #13008 from dbudniko:dbudniko/gpu_opencl_backend

G-API GPU-OpenCL backend (#13008)

* gpu/ocl backend core

* accuracy tests added and adjusted + license headers

* GPU perf. tests added; almost all adjusted to pass

* all tests adjusted and passed - ready for pull request

* missing license headers

* fix warning (workaround RGB2Gray)

* fix c++ magic

* precompiled header

* white spaces

* try to fix warning and blur test

* try to fix Blur perf tests

* more alignments with the latest cpu backend

* more gapi tests refactoring + 1 more UB issue fix + more informative tolerance exceed reports

* white space fix

* try workaround for SumTest

* GAPI_EXPORTS instead CV_EXPORTS
39 files changed:
modules/gapi/CMakeLists.txt
modules/gapi/include/opencv2/gapi/garg.hpp
modules/gapi/include/opencv2/gapi/gmat.hpp
modules/gapi/include/opencv2/gapi/gpu/core.hpp [new file with mode: 0644]
modules/gapi/include/opencv2/gapi/gpu/ggpukernel.hpp [new file with mode: 0644]
modules/gapi/include/opencv2/gapi/gpu/imgproc.hpp [new file with mode: 0644]
modules/gapi/perf/common/gapi_core_perf_tests.hpp
modules/gapi/perf/common/gapi_core_perf_tests_inl.hpp
modules/gapi/perf/cpu/gapi_core_perf_tests_cpu.cpp
modules/gapi/perf/cpu/gapi_imgproc_perf_tests_cpu.cpp
modules/gapi/perf/gpu/gapi_core_perf_tests_gpu.cpp [new file with mode: 0644]
modules/gapi/perf/gpu/gapi_imgproc_perf_tests_gpu.cpp [new file with mode: 0644]
modules/gapi/perf/perf_precomp.hpp
modules/gapi/src/api/gbackend.cpp
modules/gapi/src/api/gmat.cpp
modules/gapi/src/api/gproto.cpp
modules/gapi/src/backends/common/gbackend.hpp
modules/gapi/src/backends/gpu/ggpubackend.cpp [new file with mode: 0644]
modules/gapi/src/backends/gpu/ggpubackend.hpp [new file with mode: 0644]
modules/gapi/src/backends/gpu/ggpucore.cpp [new file with mode: 0644]
modules/gapi/src/backends/gpu/ggpucore.hpp [new file with mode: 0644]
modules/gapi/src/backends/gpu/ggpuimgproc.cpp [new file with mode: 0644]
modules/gapi/src/backends/gpu/ggpuimgproc.hpp [new file with mode: 0644]
modules/gapi/src/backends/gpu/ggpukernel.cpp [new file with mode: 0644]
modules/gapi/test/common/gapi_core_tests.hpp
modules/gapi/test/common/gapi_core_tests_inl.hpp
modules/gapi/test/common/gapi_operators_tests.hpp
modules/gapi/test/common/gapi_operators_tests_inl.hpp
modules/gapi/test/common/gapi_tests_common.hpp
modules/gapi/test/cpu/gapi_core_tests_cpu.cpp
modules/gapi/test/cpu/gapi_core_tests_fluid.cpp
modules/gapi/test/cpu/gapi_imgproc_tests_cpu.cpp
modules/gapi/test/cpu/gapi_imgproc_tests_fluid.cpp
modules/gapi/test/cpu/gapi_operators_tests_cpu.cpp
modules/gapi/test/cpu/gapi_operators_tests_fluid.cpp
modules/gapi/test/gpu/gapi_core_tests_gpu.cpp [new file with mode: 0644]
modules/gapi/test/gpu/gapi_imgproc_tests_gpu.cpp [new file with mode: 0644]
modules/gapi/test/gpu/gapi_operators_tests_gpu.cpp [new file with mode: 0644]
modules/gapi/test/test_precomp.hpp