From 40efd5365108b97fc8d6cb93fa1d572a08a93ad5 Mon Sep 17 00:00:00 2001 From: Michele Di Giorgio Date: Thu, 18 Mar 2021 17:32:00 +0000 Subject: Remove GLES-related code Change-Id: I208281d6e9ec15f9dba03cfbdc36ba2bf072d592 Signed-off-by: Michele Di Giorgio Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5314 Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas --- src/graph/Utils.cpp | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'src/graph/Utils.cpp') diff --git a/src/graph/Utils.cpp b/src/graph/Utils.cpp index 8e12689fb9..37af1bff93 100644 --- a/src/graph/Utils.cpp +++ b/src/graph/Utils.cpp @@ -46,10 +46,6 @@ Target get_default_target() { return Target::CL; } - if(is_target_supported(Target::GC)) - { - return Target::GC; - } ARM_COMPUTE_ERROR("No backend exists!"); } @@ -76,10 +72,9 @@ void force_target_to_graph(Graph &g, Target target) PassManager create_default_pass_manager(Target target, const GraphConfig &cfg) { + ARM_COMPUTE_UNUSED(target); PassManager pm; - const bool is_target_gc = target == Target::GC; - // Passes that mutate graph IR if(cfg.use_synthetic_type) { @@ -88,7 +83,7 @@ PassManager create_default_pass_manager(Target target, const GraphConfig &cfg) case DataType::QASYMM8: case DataType::QASYMM8_SIGNED: { - pm.append(std::make_unique(cfg.synthetic_type), !is_target_gc); + pm.append(std::make_unique(cfg.synthetic_type)); break; } default: @@ -98,13 +93,13 @@ PassManager create_default_pass_manager(Target target, const GraphConfig &cfg) } } } - pm.append(std::make_unique(), !is_target_gc); + pm.append(std::make_unique()); pm.append(std::make_unique()); - pm.append(std::make_unique(), !is_target_gc); + pm.append(std::make_unique()); // Passes that mutate backend information - pm.append(std::make_unique(), !is_target_gc); - pm.append(std::make_unique(), !is_target_gc); + pm.append(std::make_unique()); + pm.append(std::make_unique()); pm.append(std::make_unique()); return pm; -- cgit v1.2.1