MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / get_memory_manager

Function get_memory_manager

arm_compute/graph/backends/Utils.h:93–97  ·  view source on GitHub ↗

Returns the memory manager for a given target * * @param[in] ctx Graph context containing memory management metadata * @param[in] target Target to retrieve the memory manager from * * @return The memory manager for the given target else false */

Source from the content-addressed store, hash-verified

91 * @return The memory manager for the given target else false
92 */
93inline std::shared_ptr<IMemoryManager> get_memory_manager(GraphContext &ctx, Target target)
94{
95 bool enabled = ctx.config().use_function_memory_manager && (ctx.memory_management_ctx(target) != nullptr);
96 return enabled ? ctx.memory_management_ctx(target)->intra_mm : nullptr;
97}
98
99/** Returns the weights manager for a given target
100 *

Calls 1

memory_management_ctxMethod · 0.80

Tested by

no test coverage detected