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/OffsetLifetimeManager.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/OffsetLifetimeManager.h')
-rw-r--r-- | arm_compute/runtime/OffsetLifetimeManager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arm_compute/runtime/OffsetLifetimeManager.h b/arm_compute/runtime/OffsetLifetimeManager.h index e39d6a0d6a..26aeb1ef6a 100644 --- a/arm_compute/runtime/OffsetLifetimeManager.h +++ b/arm_compute/runtime/OffsetLifetimeManager.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -28,12 +28,12 @@ #include "arm_compute/runtime/Types.h" -#include <cstddef> #include <map> #include <vector> namespace arm_compute { +// Forward declarations class IMemoryPool; /** Concrete class that tracks the lifetime of registered tensors and @@ -61,7 +61,7 @@ private: void update_blobs_and_mappings() override; private: - size_t _blob; /**< Memory blob size */ + BlobInfo _blob; /**< Memory blob size */ }; } // namespace arm_compute #endif /* __ARM_COMPUTE_OFFSETLIFETIMEMANAGER_H__ */ |