diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-03-21 17:52:35 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:49:16 +0000 |
commit | 9a8c672dd6eb21448fbfb4b636104323d128de88 (patch) | |
tree | 345615b62b3941f2c2db442758fcc12269137156 /src/graph2/frontend/Stream.cpp | |
parent | 36a559e49a3d5b832b1cffd47f2298f452616bb9 (diff) | |
download | ComputeLibrary-9a8c672dd6eb21448fbfb4b636104323d128de88.tar.gz |
COMPMID-1011: Create struct for the graph config parameters
Change-Id: I9c164a817c0cc5f264a5c71a59256dacc6314cb0
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/125456
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/graph2/frontend/Stream.cpp')
-rw-r--r-- | src/graph2/frontend/Stream.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/graph2/frontend/Stream.cpp b/src/graph2/frontend/Stream.cpp index 076b9ac11f..3386d6547f 100644 --- a/src/graph2/frontend/Stream.cpp +++ b/src/graph2/frontend/Stream.cpp @@ -37,11 +37,10 @@ Stream::Stream(size_t id, std::string name) { } -void Stream::finalize(Target target, bool enable_tuning, bool enable_memory_management) +void Stream::finalize(Target target, const GraphConfig &config) { PassManager pm = create_default_pass_manager(); - _ctx.enable_tuning(enable_tuning); - _ctx.enable_memory_managenent(enable_memory_management); + _ctx.set_config(config); _manager.finalize_graph(_g, _ctx, pm, target); } |