Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / thirdparty / fluid / modules / gapi / src / backends / common / gcompoundbackend.cpp
1 // This file is part of OpenCV project.
2 // It is subject to the license terms in the LICENSE file found in the top-level directory
3 // of this distribution and at http://opencv.org/license.html.
4 //
5 // Copyright (C) 2018-2019 Intel Corporation
6
7
8 #include "precomp.hpp"
9
10 #include "opencv2/gapi/gcompoundkernel.hpp" // compound::backend()
11
12 #include "api/gbackend_priv.hpp"
13 #include "compiler/gislandmodel.hpp" // GIslandExecutable
14
15 cv::gapi::GBackend cv::gapi::compound::backend()
16 {
17     // A pointer to dummy Priv is used to uniquely identify backends
18     static cv::gapi::GBackend this_backend(std::make_shared<cv::gapi::GBackend::Priv>());
19     return this_backend;
20 }