From ee8cf3287265436d0d12effa36e876dc251eee8c Mon Sep 17 00:00:00 2001 From: Pablo Tello Date: Wed, 13 Nov 2019 10:44:09 +0000 Subject: 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 Reviewed-on: https://review.mlplatform.org/c/2276 Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas Comments-Addressed: Arm Jenkins --- arm_compute/graph/backends/CL/CLDeviceBackend.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'arm_compute/graph/backends/CL/CLDeviceBackend.h') 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 _allocator; /**< CL buffer affinity allocator */ std::string _tuner_file; /**< Filename to load/store the tuner's values from */ - std::unique_ptr _legacy_ctx; }; } // namespace backends } // namespace graph -- cgit v1.2.1