aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2019-06-17 17:46:17 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2019-06-24 14:27:42 +0000
commitdb09b3783ff9af67c6d373b12aa9a6aff3c5d0f1 (patch)
tree270aaba4e8e1553a32bc3e492f480fdbbaec3bd3 /arm_compute/runtime
parent3689fcd5915cd902cb4ea5f618f2a6e42f6dc4a1 (diff)
downloadComputeLibrary-db09b3783ff9af67c6d373b12aa9a6aff3c5d0f1.tar.gz
COMPMID-2392: Add documentation for import_memory interface
Change-Id: I943aefafe4131fc366d7ec336c9b94e89ce4fb8d Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-on: https://review.mlplatform.org/c/1362 Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime')
-rw-r--r--arm_compute/runtime/CL/CLTensorAllocator.h1
-rw-r--r--arm_compute/runtime/TensorAllocator.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/arm_compute/runtime/CL/CLTensorAllocator.h b/arm_compute/runtime/CL/CLTensorAllocator.h
index f942478ada..a60594ca3e 100644
--- a/arm_compute/runtime/CL/CLTensorAllocator.h
+++ b/arm_compute/runtime/CL/CLTensorAllocator.h
@@ -114,6 +114,7 @@ public:
* @warning memory is expected to be aligned with the device requirements.
* @warning tensor shouldn't be memory managed.
* @warning ownership of memory is not transferred.
+ * @warning padding should be accounted by the client code.
* @note buffer size will be checked to be compliant with total_size reported by ITensorInfo.
*
* @param[in] buffer Buffer to be used as backing memory
diff --git a/arm_compute/runtime/TensorAllocator.h b/arm_compute/runtime/TensorAllocator.h
index f296bc2e3d..bf574fa0c9 100644
--- a/arm_compute/runtime/TensorAllocator.h
+++ b/arm_compute/runtime/TensorAllocator.h
@@ -98,6 +98,7 @@ public:
* @warning size is expected to be compliant with total_size reported by ITensorInfo.
* @warning ownership of memory is not transferred.
* @warning tensor shouldn't be memory managed.
+ * @warning padding should be accounted by the client code.
* @note buffer alignment will be checked to be compliant with alignment reported by ITensorInfo.
*
* @param[in] memory Raw memory pointer to be used as backing memory