commit | 555f1c2241d6fa8c84926a72a0c54e4158817df4 | [log] [tgz] |
---|---|---|
author | Georgios Pinitas <georgios.pinitas@arm.com> | Fri Dec 14 17:11:20 2018 +0000 |
committer | Michele Di Giorgio <michele.digiorgio@arm.com> | Fri Dec 14 19:45:00 2018 +0000 |
tree | 0ec5da469c28559d8c5df9848cfa3ada6e0646e8 | |
parent | b4af2c6738614850aaca3754904f0e8e3b17f0b2 [diff] [blame] |
COMPMID-1710: Account alignment for blob-base allocations Change-Id: I290d33e25a5966d25a91df39ebc01c28bfa31f78 Reviewed-on: https://review.mlplatform.org/402 Reviewed-by: Anthony Barbier <Anthony.barbier@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
diff --git a/src/runtime/TensorAllocator.cpp b/src/runtime/TensorAllocator.cpp index 5fa51d7..38edb8b 100644 --- a/src/runtime/TensorAllocator.cpp +++ b/src/runtime/TensorAllocator.cpp
@@ -138,7 +138,7 @@ } else { - _associated_memory_group->finalize_memory(_owner, _memory, info().total_size()); + _associated_memory_group->finalize_memory(_owner, _memory, info().total_size(), alignment()); } info().set_is_resizable(false); }