diff options
Diffstat (limited to 'arm_compute/runtime/GLES_COMPUTE')
-rw-r--r-- | arm_compute/runtime/GLES_COMPUTE/GCTensor.h | 5 | ||||
-rw-r--r-- | arm_compute/runtime/GLES_COMPUTE/GCTensorAllocator.h | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/arm_compute/runtime/GLES_COMPUTE/GCTensor.h b/arm_compute/runtime/GLES_COMPUTE/GCTensor.h index 0f5f194266..05305f9b1b 100644 --- a/arm_compute/runtime/GLES_COMPUTE/GCTensor.h +++ b/arm_compute/runtime/GLES_COMPUTE/GCTensor.h @@ -40,10 +40,10 @@ public: /** Default constructor */ GCTensor(); - /** Prevent instances of this class from being copied (As this class contains pointers). */ + /** Prevent instances of this class from being copied (As this class contains pointers) */ GCTensor(const GCTensor &) = delete; - /** Prevent instances of this class from being copy assigned (As this class contains pointers). */ + /** Prevent instances of this class from being copy assigned (As this class contains pointers) */ GCTensor &operator=(const GCTensor &) = delete; /** Allow instances of this class to be moved */ @@ -94,6 +94,7 @@ private: mutable GCTensorAllocator _allocator; /**< Instance of the OpenGL ES tensor allocator */ }; +/** OpenGL ES Image */ using GCImage = GCTensor; } diff --git a/arm_compute/runtime/GLES_COMPUTE/GCTensorAllocator.h b/arm_compute/runtime/GLES_COMPUTE/GCTensorAllocator.h index fc14f04ac2..1bd3582b6c 100644 --- a/arm_compute/runtime/GLES_COMPUTE/GCTensorAllocator.h +++ b/arm_compute/runtime/GLES_COMPUTE/GCTensorAllocator.h @@ -59,10 +59,10 @@ public: /** Default constructor. */ GCTensorAllocator(GCTensor *owner = nullptr); - /** Prevent instances of this class from being copied (As this class contains pointers). */ + /** Prevent instances of this class from being copied (As this class contains pointers) */ GCTensorAllocator(const GCTensorAllocator &) = delete; - /** Prevent instances of this class from being copy assigned (As this class contains pointers). */ + /** Prevent instances of this class from being copy assigned (As this class contains pointers) */ GCTensorAllocator &operator=(const GCTensorAllocator &) = delete; /** Allow instances of this class to be moved */ @@ -74,7 +74,10 @@ public: /** Default destructor */ ~GCTensorAllocator(); - /** Interface to be implemented by the child class to return the pointer to the mapped data. */ + /** Interface to be implemented by the child class to return the pointer to the mapped data. + * + * @return a pointer to the data. + */ uint8_t *data(); /** Get the OpenGL ES buffer object name |