Fluid Internal Parallelism

- Added new graph compile time argument to specify multiple independent
ROIs (Tiles)
 - Added new "executable" with serial loop other user specified
ROIs(Tiles)
 - refactored graph traversal code into separate function to be called
once
 - added saturate cast to Fluid AddCsimple test kernel
This commit is contained in:
Anton Potapov
2019-07-03 11:35:54 +03:00
parent 097d81363b
commit 97e88bd769
5 changed files with 370 additions and 34 deletions
@@ -99,12 +99,22 @@ struct GFluidOutputRois
std::vector<cv::gapi::own::Rect> rois;
};
struct GFluidParallelOutputRois
{
std::vector<GFluidOutputRois> parallel_rois;
};
namespace detail
{
template<> struct CompileArgTag<GFluidOutputRois>
{
static const char* tag() { return "gapi.fluid.outputRois"; }
};
template<> struct CompileArgTag<GFluidParallelOutputRois>
{
static const char* tag() { return "gapi.fluid.parallelOutputRois"; }
};
} // namespace detail
namespace detail