aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/backends/CL/CLDeviceBackend.h
diff options
context:
space:
mode:
authorPablo Tello <pablo.tello@arm.com>2019-11-13 10:44:09 +0000
committerMichele Di Giorgio <michele.digiorgio@arm.com>2019-11-14 11:39:29 +0000
commitee8cf3287265436d0d12effa36e876dc251eee8c (patch)
treeb3b16e731e4eb597b27acd14bec41389fc6dc76a /arm_compute/graph/backends/CL/CLDeviceBackend.h
parent7a669a87ef04ecb4c9b51ea4a10d9a16aebf3227 (diff)
downloadComputeLibrary-ee8cf3287265436d0d12effa36e876dc251eee8c.tar.gz
COMPMID-2905: Fixed benchmark graph segfault.
Reworked the graph api opencl backend to use the legacy api in initialize_backend(). Change-Id: Ie27a3484a3851e742fce9bf5bfef7b6ef928d0a0 Signed-off-by: Pablo Tello <pablo.tello@arm.com> Reviewed-on: https://review.mlplatform.org/c/2276 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/graph/backends/CL/CLDeviceBackend.h')
-rw-r--r--arm_compute/graph/backends/CL/CLDeviceBackend.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arm_compute/graph/backends/CL/CLDeviceBackend.h b/arm_compute/graph/backends/CL/CLDeviceBackend.h
index 1239d5d3ad..8e5fe8cde5 100644
--- a/arm_compute/graph/backends/CL/CLDeviceBackend.h
+++ b/arm_compute/graph/backends/CL/CLDeviceBackend.h
@@ -31,7 +31,6 @@
namespace arm_compute
{
-class CLCoreRuntimeContext;
namespace graph
{
namespace backends
@@ -75,7 +74,6 @@ private:
CLTuner _tuner; /**< CL kernel tuner */
std::unique_ptr<CLBufferAllocator> _allocator; /**< CL buffer affinity allocator */
std::string _tuner_file; /**< Filename to load/store the tuner's values from */
- std::unique_ptr<CLCoreRuntimeContext> _legacy_ctx;
};
} // namespace backends
} // namespace graph