aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/Allocator.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-12-14 17:11:20 +0000
committerMichele Di Giorgio <michele.digiorgio@arm.com>2018-12-14 19:45:00 +0000
commit555f1c2241d6fa8c84926a72a0c54e4158817df4 (patch)
tree0ec5da469c28559d8c5df9848cfa3ada6e0646e8 /src/runtime/Allocator.cpp
parentb4af2c6738614850aaca3754904f0e8e3b17f0b2 (diff)
downloadComputeLibrary-555f1c2241d6fa8c84926a72a0c54e4158817df4.tar.gz
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>
Diffstat (limited to 'src/runtime/Allocator.cpp')
-rw-r--r--src/runtime/Allocator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/runtime/Allocator.cpp b/src/runtime/Allocator.cpp
index 7f0e37495e..d9de11ebbf 100644
--- a/src/runtime/Allocator.cpp
+++ b/src/runtime/Allocator.cpp
@@ -44,6 +44,5 @@ void Allocator::free(void *ptr)
std::unique_ptr<IMemoryRegion> Allocator::make_region(size_t size, size_t alignment)
{
- ARM_COMPUTE_UNUSED(alignment);
- return arm_compute::support::cpp14::make_unique<MemoryRegion>(size);
+ return arm_compute::support::cpp14::make_unique<MemoryRegion>(size, alignment);
} \ No newline at end of file