aboutsummaryrefslogtreecommitdiff
path: root/utils/GraphUtils.h
diff options
context:
space:
mode:
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;