diff options
author | Manuel Bottini <manuel.bottini@arm.com> | 2019-07-24 14:51:51 +0100 |
---|---|---|
committer | Manuel Bottini <manuel.bottini@arm.com> | 2019-07-25 14:24:40 +0000 |
commit | 342d1bc48338e88a2585ea2bc822ff4f5e47a244 (patch) | |
tree | 86b0dceb219018e3bee852d74ae5c1cad0439e27 /arm_compute/runtime/CL/CLTensorAllocator.h | |
parent | 6c2eac194ce3e24f4be5f3384f8d5fc93c3a45f6 (diff) | |
download | ComputeLibrary-342d1bc48338e88a2585ea2bc822ff4f5e47a244.tar.gz |
COMPMID-2336: Additional warnings for import_memory()
warning about the use of inplace operators have been added for OpenCL and CPU
Change-Id: Ica8f50c138d94dfca6c301f6580346ec4e241c9b
Signed-off-by: Manuel Bottini <manuel.bottini@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1602
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/CL/CLTensorAllocator.h')
-rw-r--r-- | arm_compute/runtime/CL/CLTensorAllocator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arm_compute/runtime/CL/CLTensorAllocator.h b/arm_compute/runtime/CL/CLTensorAllocator.h index a60594ca3e..982cc51274 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 memory must be writable in case of in-place operations * @warning padding should be accounted by the client code. * @note buffer size will be checked to be compliant with total_size reported by ITensorInfo. * |