aboutsummaryrefslogtreecommitdiff
path: root/shim/sl/canonical/ArmnnDevice.hpp
diff options
context:
space:
mode:
authorKevin May <kevin.may@arm.com>2022-02-10 13:14:03 +0000
committerKevin May <kevin.may@arm.com>2022-02-11 17:00:02 +0000
commit138a88cf568fbc420a310344903f7eb9dec8e1e3 (patch)
tree09dfc013e35ebbed461818e585c3a5611bda7f60 /shim/sl/canonical/ArmnnDevice.hpp
parentf414d999704e2d198aa3136bd556f33a9cc4945f (diff)
downloadarmnn-138a88cf568fbc420a310344903f7eb9dec8e1e3.tar.gz
IVGCVSW-6226 Arm NN Shim Service and Support Library
Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I542b4c4c7b0592f5153ab3d10141bed4e8f169cd
Diffstat (limited to 'shim/sl/canonical/ArmnnDevice.hpp')
-rw-r--r--shim/sl/canonical/ArmnnDevice.hpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/shim/sl/canonical/ArmnnDevice.hpp b/shim/sl/canonical/ArmnnDevice.hpp
new file mode 100644
index 0000000000..9597bfc013
--- /dev/null
+++ b/shim/sl/canonical/ArmnnDevice.hpp
@@ -0,0 +1,28 @@
+//
+// Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#pragma once
+
+#include "DriverOptions.hpp"
+
+#include <armnn/ArmNN.hpp>
+
+namespace armnn_driver
+{
+
+class ArmnnDevice
+{
+
+protected:
+ ArmnnDevice(DriverOptions options);
+ virtual ~ArmnnDevice() {}
+
+protected:
+ armnn::IRuntimePtr m_Runtime;
+ armnn::IGpuAccTunedParametersPtr m_ClTunedParameters;
+ DriverOptions m_Options;
+};
+
+} // namespace armnn_driver