summaryrefslogtreecommitdiff
path: root/src/armnn/backends/test/TensorCopyUtils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/backends/test/TensorCopyUtils.hpp')
-rw-r--r--src/armnn/backends/test/TensorCopyUtils.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/armnn/backends/test/TensorCopyUtils.hpp b/src/armnn/backends/test/TensorCopyUtils.hpp
new file mode 100644
index 000000000..360eec61d
--- /dev/null
+++ b/src/armnn/backends/test/TensorCopyUtils.hpp
@@ -0,0 +1,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); \ No newline at end of file