commit | 17b12307edeaf488cfdf0cc3fa00b8f08293c93e | [log] [tgz] |
---|---|---|
author | Georgios Pinitas <georgios.pinitas@arm.com> | Mon Jun 18 18:13:51 2018 +0100 |
committer | Anthony Barbier <anthony.barbier@arm.com> | Fri Nov 02 16:53:20 2018 +0000 |
tree | d7025d84a03d9897b4811ade16a2a1952bdb09c4 | |
parent | 09b19129b65c5b8d1ca1c3851bab919bb9b7e1a1 [diff] [blame] |
COMPMID-1293: Handle aligned allocations Change-Id: I6e642c8cd968240f883c327464519e57e5d0c3e3 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/136088 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
diff --git a/src/runtime/TensorAllocator.cpp b/src/runtime/TensorAllocator.cpp index 993a95b..c84a271 100644 --- a/src/runtime/TensorAllocator.cpp +++ b/src/runtime/TensorAllocator.cpp
@@ -138,7 +138,7 @@ if(_associated_memory_group == nullptr) { - _memory = Memory(std::make_shared<MemoryRegion>(info().total_size())); + _memory = Memory(std::make_shared<MemoryRegion>(info().total_size(), alignment())); } else {