diff options
Diffstat (limited to 'src/backends/reference/RefBackend.cpp')
-rw-r--r-- | src/backends/reference/RefBackend.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/backends/reference/RefBackend.cpp b/src/backends/reference/RefBackend.cpp index c38d6b6710..a33a7756a0 100644 --- a/src/backends/reference/RefBackend.cpp +++ b/src/backends/reference/RefBackend.cpp @@ -1,5 +1,5 @@ // -// Copyright © 2017 Arm Ltd. All rights reserved. +// Copyright © 2022 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -103,4 +103,16 @@ std::unique_ptr<ICustomAllocator> RefBackend::GetDefaultAllocator() const return std::make_unique<DefaultAllocator>(); } +ExecutionData RefBackend::CreateExecutionData(WorkingMemDescriptor& workingMemDescriptor) const +{ + ExecutionData executionData; + executionData.m_Data = &workingMemDescriptor; + return executionData; +} + +void RefBackend::UpdateExecutionData(ExecutionData& executionData, WorkingMemDescriptor& workingMemDescriptor) const +{ + executionData.m_Data = &workingMemDescriptor; +} + } // namespace armnn |