aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CL/OpenCL.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/core/CL/OpenCL.h')
-rw-r--r--arm_compute/core/CL/OpenCL.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arm_compute/core/CL/OpenCL.h b/arm_compute/core/CL/OpenCL.h
index 155c3e4eef..64b24dba8f 100644
--- a/arm_compute/core/CL/OpenCL.h
+++ b/arm_compute/core/CL/OpenCL.h
@@ -63,6 +63,12 @@ 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
@@ -144,6 +150,7 @@ public:
private:
std::pair<bool, bool> _loaded;
+ void *_handle;
};
} // namespace arm_compute
#endif /* ARM_COMPUTE_OPENCL_H */