From 42bd26560daa799dbb825a7c6aade61c7ca132a2 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Fri, 12 Mar 2021 18:40:30 +0000 Subject: Revert "Close loaded library on OpenCL symbols destruction" This reverts commit d62ef4d0df239790a3ccb304ce6dd85ed399fa74. Change-Id: I55614b157a72cb4a6bc180d1e46cafa81e526996 Signed-off-by: Georgios Pinitas Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5264 Tested-by: Arm Jenkins Reviewed-by: Sheri Zhang --- arm_compute/core/CL/OpenCL.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'arm_compute/core/CL/OpenCL.h') diff --git a/arm_compute/core/CL/OpenCL.h b/arm_compute/core/CL/OpenCL.h index 64b24dba8f..155c3e4eef 100644 --- a/arm_compute/core/CL/OpenCL.h +++ b/arm_compute/core/CL/OpenCL.h @@ -63,12 +63,6 @@ class CLSymbols final public: /** Default Constructor */ CLSymbols() noexcept(false); - /** Destructor */ - ~CLSymbols(); - /** Prevent instances of this class from being copied (As this class contains pointers) */ - CLSymbols(const CLSymbols &) = delete; - /** Prevent instances of this class from being copied (As this class contains pointers) */ - CLSymbols &operator=(const CLSymbols &) = delete; /** Load OpenCL symbols from handle * * @param[in] handle Handle to load symbols from @@ -150,7 +144,6 @@ public: private: std::pair _loaded; - void *_handle; }; } // namespace arm_compute #endif /* ARM_COMPUTE_OPENCL_H */ -- cgit v1.2.1