aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/backends/test/TensorCopyUtils.hpp
blob: 360eec61df114ce5b2035da742cbd32d9e0e1281 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#pragma once

#include "armnn/Tensor.hpp"
#include "backends/ITensorHandle.hpp"

void CopyDataToITensorHandle(armnn::ITensorHandle* tensorHandle, const void* mem);

void CopyDataFromITensorHandle(void* mem, const armnn::ITensorHandle* tensorHandle);

void AllocateAndCopyDataToITensorHandle(armnn::ITensorHandle* tensorHandle, const void* mem);