aboutsummaryrefslogtreecommitdiff
path: root/utils/GraphUtils.h
diff options
context:
space:
mode:
authorMichele Di Giorgio <michele.digiorgio@arm.com>2021-03-18 17:32:00 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2021-03-26 09:22:21 +0000
commit40efd5365108b97fc8d6cb93fa1d572a08a93ad5 (patch)
treecdcd11c2a553863ae7e7df0b0c6bbd18379fb9db /utils/GraphUtils.h
parenta8903c871252412c70623b5f8e284c181238a9b2 (diff)
downloadComputeLibrary-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 'utils/GraphUtils.h')
-rw-r--r--utils/GraphUtils.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/utils/GraphUtils.h b/utils/GraphUtils.h
index 056648451b..8764514d7e 100644
--- a/utils/GraphUtils.h
+++ b/utils/GraphUtils.h
@@ -679,15 +679,11 @@ inline TensorShape permute_shape(TensorShape tensor_shape, DataLayout in_data_la
*/
inline graph::Target set_target_hint(int target)
{
- ARM_COMPUTE_ERROR_ON_MSG(target > 3, "Invalid target. Target must be 0 (NEON), 1 (OpenCL), 2 (OpenCL + Tuner), 3 (GLES)");
+ ARM_COMPUTE_ERROR_ON_MSG(target > 2, "Invalid target. Target must be 0 (NEON), 1 (OpenCL), 2 (OpenCL + Tuner)");
if((target == 1 || target == 2))
{
return graph::Target::CL;
}
- else if(target == 3)
- {
- return graph::Target::GC;
- }
else
{
return graph::Target::NEON;