• O
    Merge pull request #17668 from OrestChura:oc/giebackend_migration_to_core · d17ab271
    Orest Chura 提交于
    GAPI: Migration to IE Core API
    
    * Migration to IE Core API
     - both versions are maintained
     - checked building with all the OpenVINO versions (2019.R1, R2, R3, 2020.4 (newest))
    
    * commit to awake builders
    
    * Addressing comments
     - migrated to Core API in 'gapi_ie_infer_test.cpp'
     - made Core a singleton object
     - dropped redundant steps
    
    * Addressing comments
     - modified Mutex locking
    
    * Update
    
    * Addressing comments
     - remove getInitMutex()
     - reduce amount of #ifdef by abstracting into functions
    
    * return to single IE::Core
    
    * Divide functions readNet and loadNet to avoid warnings on GCC
    
    * Fix deprecated code warnings
    
    * Fix deprecated code warnings on CMake level
    
    * Functions wrapped
     - All the functions depended on IE version wrapped into a cv::gapi::ie::wrap namesapace
     - All this contained to a new "giebackend/gieapi.hpp" header
     - The header shared with G-API infer tests to avoid code duplications
    
    * Addressing comments
     - Renamed `gieapi.hpp` -> `giewrapper.hpp`, `cv::gapi::ie::wrap` -> `cv::gimpl::ie::wrap`
     - Created new `giewrapper.cpp` source file to avoid potential "multiple definition" problems
     - removed unnecessary step SetLayout() in tests
    
    * Enabling two NN infer teest
    
    * Two-NN infer test change for CI
     - deleted additional network
     - inference of two identical NN used instead
    
    * Fix CI fileNotFound
    
    * Disable MYRIAD test not to fail Custom CI runs
    d17ab271
giebackend.cpp 31.3 KB