Conversation
|
| @@ -0,0 +1,92 @@ | |||
| # FIXME: Remove CXX11 check after complete switch to OpenCV 4 branch | |||
| # (CI, bundle, workloads, etc) | |||
| if (NOT HAVE_CXX11 OR NOT TARGET ade) | |||
There was a problem hiding this comment.
Maybe we should disable building this module with older GCC versions due to missing std::aligned_union. Something like this:
if ((CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9) OR ...)There was a problem hiding this comment.
I think we better rewrite that code and drop aligned_union
There was a problem hiding this comment.
Should be fixed now (at least build passes locally with gcc4.8)
There was a problem hiding this comment.
ANDROID is excluded from the build so far, but the code builds fine with other gcc4.8 builders (e.g. ARMv7)
* The majority of OpenCV buildbot problems was addressed
|
Seems the latest problem with build on macOS is similar to gsl-lite/gsl-lite#63 |
|
|
||
| int unused[] = { 0, (pkg.include<KK>(), 0)... }; | ||
| (void) unused; | ||
| cv::util::suppress_unused_warning(unused); |
There was a problem hiding this comment.
There is CV_UNUSED macro in the core module.
There was a problem hiding this comment.
As G-API is being decoupled from OpenCV in parallel, we'll need to have our own
* Linux warnings should be resolved * Documentation build should become green * Number of Windows warnings should be reduced
* ARMv7 build issue should be resolved * ADE is bumped to latest version and should fix Clang builds for macOS/iOS * Remaining Windows warnings should be resolved * New Linux32 / ARMv7 warnings should be resolved
|
The latest status: only 1 warning remaining on Windows, will fix in a couple of hours. ARMv7 test fails (and I don't have a clue why): http://pullrequest.opencv.org/buildbot/builders/precommit_armv7/builds/11175 |
* Final Windows warnings should be resolved now
|
@alalek @mshabunin @vpisarev feel lucky today :) |
| GAPI_Assert(fx != 0. && fy != 0.); | ||
| return in.withSize | ||
| (Size(static_cast<int>(std::round(in.size.width * fx)), | ||
| static_cast<int>(std::round(in.size.height * fy)))); |
There was a problem hiding this comment.
std::round?
Perhaps this should not have huge impact if fx/fy is not passed into "implementation" functions after that (only dstSize is used).
There was a problem hiding this comment.
Not sure what you mean
There was a problem hiding this comment.
OpenCV uses own cvRound() (nearest-to-even) in cv::resize().
There was a problem hiding this comment.
ah ok. We do pass tests against cv::resize() already, so let's put this stuff into the backlog so address later (within the release timeframe).
|
|
||
|
|
||
| #include <ade/graph.hpp> | ||
| #include "test_precomp.hpp" |
There was a problem hiding this comment.
"precomp.hpp" should be the first unconditional include.
There was a problem hiding this comment.
This and all below issues are now resolved
|
|
||
|
|
||
| #include "compiler/transactions.hpp" | ||
| #include "test_precomp.hpp" |
There was a problem hiding this comment.
"precomp.hpp" should be the first unconditional include.
|
|
||
| #include <ade/util/zip_range.hpp> // util::indexed | ||
|
|
||
| #include "test_precomp.hpp" |
There was a problem hiding this comment.
"precomp.hpp" should be the first unconditional include.
|
|
||
| #include <type_traits> | ||
|
|
||
| #include "test_precomp.hpp" |
There was a problem hiding this comment.
"precomp.hpp" should be the first unconditional include.
| // Copyright (C) 2018 Intel Corporation | ||
|
|
||
|
|
||
| #include "test_precomp.hpp" |
There was a problem hiding this comment.
Please avoid using of "precomp.hpp" in header files (it should/must be used in .cpp files only).
Introduce some "test_common.hpp" if you really need to include set of common headers.
Similar files:
- modules/gapi/test/common/gapi_core_tests.hpp
- modules/gapi/test/common/gapi_imgproc_tests.hpp
- modules/gapi/test/common/gapi_operators_tests.hpp
- modules/gapi/test/gapi_fluid_test_kernels.hpp
- modules/gapi/src/backends/common/gbackend.hpp
- modules/gapi/perf/common/gapi_imgproc_perf_tests.hpp
|
let's merge it! |
* Fixed issues with precompiled headers in module and its tests
* master: (286 commits) Merge pull request opencv#12608 from dmatveev:gapi M_PI changed to CV_PI (opencv#12645) dnn: fix printf format warning Merge pull request opencv#12615 from D-Alex:master Fixed several incorrect printf format specifiers core: fix printf warnings by using c++11 format core: enable printf format warnings for cv::format JS: Support enum properties fix a bug in OpenGL samples: update winpack python samples launcher Merge pull request opencv#12310 from cv3d:chunks/enum_interface Merge pull request opencv#12601 from cv3d:fix/js release: OpenCV 4.0.0-alpha (version++) cuda: move CUDA modules to opencv_contrib cmake: update install paths (Linux) Merge pull request opencv#12570 from alalek:drop_usrtype1 Fix failure to request stddev of non-intrinsics ts: update valgrind test filter build: fix Xcode 10 build problems Enable Myriad device for OpenVINO models test ...
|
@dmatveev Could you please take a look on valgrind issues? (issue #12911) |
* G-API Initial code upload * Update G-API code base to Sep-24-2018 * The majority of OpenCV buildbot problems was addressed * Update G-API code base to 24-Sep-18 EOD * G-API code base update 25-Sep-2018 * Linux warnings should be resolved * Documentation build should become green * Number of Windows warnings should be reduced * Update G-API code base to 25-Sep-18 EOD * ARMv7 build issue should be resolved * ADE is bumped to latest version and should fix Clang builds for macOS/iOS * Remaining Windows warnings should be resolved * New Linux32 / ARMv7 warnings should be resolved * G-API code base update 25-Sep-2018-EOD2 * Final Windows warnings should be resolved now * G-API code base update 26-Sep-2018 * Fixed issues with precompiled headers in module and its tests
This is the initial source code upload for new OpenCV 4 module "Graph API":
This is an integration branch -- it will be updated with new changes.
Please don't push to this branch directly.
Documentation and samples are WIP and will be pushed in a week or two.