diff options
author | Michele Di Giorgio <michele.digiorgio@arm.com> | 2021-03-18 17:32:00 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-03-26 09:22:21 +0000 |
commit | 40efd5365108b97fc8d6cb93fa1d572a08a93ad5 (patch) | |
tree | cdcd11c2a553863ae7e7df0b0c6bbd18379fb9db /src/graph/Utils.cpp | |
parent | a8903c871252412c70623b5f8e284c181238a9b2 (diff) | |
download | ComputeLibrary-40efd5365108b97fc8d6cb93fa1d572a08a93ad5.tar.gz |
Remove GLES-related code
Change-Id: I208281d6e9ec15f9dba03cfbdc36ba2bf072d592
Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5314
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'src/graph/Utils.cpp')
-rw-r--r-- | src/graph/Utils.cpp | 17 |
1 files changed, 6 insertions, 11 deletions
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<SyntheticDataTypeMutator>(cfg.synthetic_type), !is_target_gc); + pm.append(std::make_unique<SyntheticDataTypeMutator>(cfg.synthetic_type)); break; } default: @@ -98,13 +93,13 @@ PassManager create_default_pass_manager(Target target, const GraphConfig &cfg) } } } - pm.append(std::make_unique<NodeFusionMutator>(), !is_target_gc); + pm.append(std::make_unique<NodeFusionMutator>()); pm.append(std::make_unique<GroupedConvolutionMutator>()); - pm.append(std::make_unique<InPlaceOperationMutator>(), !is_target_gc); + pm.append(std::make_unique<InPlaceOperationMutator>()); // Passes that mutate backend information - pm.append(std::make_unique<DepthConcatSubTensorMutator>(), !is_target_gc); - pm.append(std::make_unique<SplitLayerSubTensorMutator>(), !is_target_gc); + pm.append(std::make_unique<DepthConcatSubTensorMutator>()); + pm.append(std::make_unique<SplitLayerSubTensorMutator>()); pm.append(std::make_unique<NodeExecutionMethodMutator>()); return pm; |