diff options
author | Alex Gilday <alexander.gilday@arm.com> | 2018-03-21 13:54:09 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:49:16 +0000 |
commit | c357c47be8a3f210f9eee9a05cc13f1051b036d3 (patch) | |
tree | a88ac857150da970a0862a3479b78c616d8aa1d3 /tests/CL/CLAccessor.h | |
parent | 724079d6fce3bf6a05cd6c7b4884b132b27e9e90 (diff) | |
download | ComputeLibrary-c357c47be8a3f210f9eee9a05cc13f1051b036d3.tar.gz |
COMPMID-1008: Fix Doxygen issues
Change-Id: Ie73d8771f85d1f5b059f3a56f1bbd73c98e94a38
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/124723
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/CL/CLAccessor.h')
-rw-r--r-- | tests/CL/CLAccessor.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/tests/CL/CLAccessor.h b/tests/CL/CLAccessor.h index f2e13f1232..66f3df06af 100644 --- a/tests/CL/CLAccessor.h +++ b/tests/CL/CLAccessor.h @@ -44,14 +44,30 @@ public: */ CLAccessor(CLTensor &tensor); + /** Prevent instances of this class from being copy constructed */ CLAccessor(const CLAccessor &) = delete; + /** Prevent instances of this class from being copied */ CLAccessor &operator=(const CLAccessor &) = delete; - CLAccessor(CLAccessor &&) = default; + /** Allow instances of this class to be move constructed */ + CLAccessor(CLAccessor &&) = default; + /** Allow instances of this class to be moved */ CLAccessor &operator=(CLAccessor &&) = default; /** Destructor that unmaps the CL memory. */ ~CLAccessor(); + /** Get the tensor data. + * + * @return a constant pointer to the tensor data. + */ + const void *data() const; + /** Get the tensor data. + * + * @return a pointer to the tensor data. + */ + void *data(); + + // Inherited method overrides TensorShape shape() const override; size_t element_size() const override; size_t size() const override; @@ -65,8 +81,6 @@ public: QuantizationInfo quantization_info() const override; const void *operator()(const Coordinates &coord) const override; void *operator()(const Coordinates &coord) override; - const void *data() const; - void *data(); private: CLTensor &_tensor; |