diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-11-14 13:16:56 +0000 |
---|---|---|
committer | Isabella Gottardi <isabella.gottardi@arm.com> | 2018-11-21 09:52:04 +0000 |
commit | df3103622b7de05f4e35b22a2c94b4a46eab4efc (patch) | |
tree | 17e10253e7a069c69d10bea0882b699b99d74b86 /arm_compute/runtime/Types.h | |
parent | c47ef20d69e8ea0f519fdc679435cd7037fc18fe (diff) | |
download | ComputeLibrary-df3103622b7de05f4e35b22a2c94b4a46eab4efc.tar.gz |
COMPMID-1088: Use IMemoryRegion in interfaces where possible
-Simplifies import memory interface
-Changes the used of void** handles with appropriate interfaces.
Change-Id: I5918c855c11f46352058864623336b352162a4b7
Diffstat (limited to 'arm_compute/runtime/Types.h')
-rw-r--r-- | arm_compute/runtime/Types.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arm_compute/runtime/Types.h b/arm_compute/runtime/Types.h index 9916e6d47b..b962427ef8 100644 --- a/arm_compute/runtime/Types.h +++ b/arm_compute/runtime/Types.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -24,6 +24,8 @@ #ifndef __ARM_COMPUTE_RUNTIME_TYPES_H__ #define __ARM_COMPUTE_RUNTIME_TYPES_H__ +#include "arm_compute/runtime/IMemory.h" + #include <map> namespace arm_compute @@ -40,7 +42,7 @@ enum class MappingType * * @note All objects are pre-pinned to specific buffers to avoid any relevant overheads */ -using MemoryMappings = std::map<void **, size_t>; +using MemoryMappings = std::map<IMemory *, size_t>; /** A map of the groups and memory mappings */ using GroupMappings = std::map<size_t, MemoryMappings>; |