diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-01-21 18:38:21 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-01-23 11:45:28 +0000 |
commit | 734151d20bef56cbedce2ae67945f42cb4e265c8 (patch) | |
tree | b51f5fb5ead440e0f7a5f38785f2f2564442d0f5 /arm_compute/runtime/BlobMemoryPool.h | |
parent | e8c0c4397a508169282e5859410d5d6cdc87edbe (diff) | |
download | ComputeLibrary-734151d20bef56cbedce2ae67945f42cb4e265c8.tar.gz |
COMPMID-1848: Account alignment in Offset-based pool allocations
Change-Id: I061d612341bf951a7d0e7ddd04a42139c8400d41
Reviewed-on: https://review.mlplatform.org/554
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Diffstat (limited to 'arm_compute/runtime/BlobMemoryPool.h')
-rw-r--r-- | arm_compute/runtime/BlobMemoryPool.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/arm_compute/runtime/BlobMemoryPool.h b/arm_compute/runtime/BlobMemoryPool.h index ba97dbd94e..c2e0902493 100644 --- a/arm_compute/runtime/BlobMemoryPool.h +++ b/arm_compute/runtime/BlobMemoryPool.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -38,17 +38,6 @@ namespace arm_compute // Forward declaration class IAllocator; -/** Meta-data information for each blob */ -struct BlobInfo -{ - BlobInfo(size_t size_ = 0, size_t alignment_ = 0) - : size(size_), alignment(alignment_) - { - } - size_t size; /**< Blob size */ - size_t alignment; /**< Blob alignment */ -}; - /** Blob memory pool */ class BlobMemoryPool : public IMemoryPool { |