diff options
author | Manuel Bottini <manuel.bottini@arm.com> | 2021-02-16 15:15:19 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-02-23 18:21:55 +0000 |
commit | ceaa0bfe219631b5a4e638613f90f9fa47a3defe (patch) | |
tree | 3bb878645ae7509f7807197d320a02882ad84751 /tests/Utils.h | |
parent | c40562d4467e3a68b0dac5e865570c8f38d1487e (diff) | |
download | ComputeLibrary-ceaa0bfe219631b5a4e638613f90f9fa47a3defe.tar.gz |
Remove OpenGL ES support
Remove the following:
- Relevant backend kernels
- Relevant backend functions
- Relevant backend validation tests
- Relevant backend specific examples
- Remove backend support from Graph API
- Remove backend support from build system
Update documentation
Resolves: COMPMID-4149
Change-Id: Id0621d6ee35169754de458103907aaba4ef770c0
Signed-off-by: Manuel Bottini <manuel.bottini@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5097
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'tests/Utils.h')
-rw-r--r-- | tests/Utils.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/tests/Utils.h b/tests/Utils.h index 81fd253cee..ab256032b0 100644 --- a/tests/Utils.h +++ b/tests/Utils.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2020 Arm Limited. + * Copyright (c) 2017-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -40,11 +40,6 @@ #include "arm_compute/runtime/CL/CLScheduler.h" #endif /* ARM_COMPUTE_CL */ -#ifdef ARM_COMPUTE_GC -#include "arm_compute/core/GLES_COMPUTE/OpenGLES.h" -#include "arm_compute/runtime/GLES_COMPUTE/GCTensor.h" -#endif /* ARM_COMPUTE_GC */ - #include <cmath> #include <cstddef> #include <limits> @@ -806,17 +801,7 @@ inline void sync_if_necessary() template <typename TensorType> inline void sync_tensor_if_necessary(TensorType &tensor) { -#ifdef ARM_COMPUTE_GC - if(opengles31_is_available() && std::is_same<typename std::decay<TensorType>::type, arm_compute::GCTensor>::value) - { - // Force sync the tensor by calling map and unmap. - IGCTensor &t = dynamic_cast<IGCTensor &>(tensor); - t.map(); - t.unmap(); - } -#else /* ARM_COMPUTE_GC */ ARM_COMPUTE_UNUSED(tensor); -#endif /* ARM_COMPUTE_GC */ } } // namespace test } // namespace arm_compute |