diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-09-09 19:23:39 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-09-16 15:11:51 +0000 |
commit | caa7deedfe1b0d0020c6099d8f616ec92b1bd5e9 (patch) | |
tree | f33643941f0824d5fa79140070a7c9993acb2851 /src/runtime/CL | |
parent | d87a7b297a5bfc2bad3ba78ea97754d7894e82ef (diff) | |
download | ComputeLibrary-caa7deedfe1b0d0020c6099d8f616ec92b1bd5e9.tar.gz |
COMPMID-2641 [NEON] Create a test case for dynamic tensor support
Change-Id: I181e9acffd34ff1c807c65a822cfafb7327b8c8a
Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1913
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/CL')
-rw-r--r-- | src/runtime/CL/CLTensorAllocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/CL/CLTensorAllocator.cpp b/src/runtime/CL/CLTensorAllocator.cpp index 51caf69297..72b5854c5c 100644 --- a/src/runtime/CL/CLTensorAllocator.cpp +++ b/src/runtime/CL/CLTensorAllocator.cpp @@ -181,7 +181,7 @@ Status CLTensorAllocator::import_memory(cl::Buffer buffer) void CLTensorAllocator::set_associated_memory_group(CLMemoryGroup *associated_memory_group) { ARM_COMPUTE_ERROR_ON(associated_memory_group == nullptr); - ARM_COMPUTE_ERROR_ON(_associated_memory_group != nullptr); + ARM_COMPUTE_ERROR_ON(_associated_memory_group != nullptr && _associated_memory_group != associated_memory_group); ARM_COMPUTE_ERROR_ON(_memory.region() != nullptr && _memory.cl_region()->cl_data().get() != nullptr); _associated_memory_group = associated_memory_group; |