aboutsummaryrefslogtreecommitdiff
path: root/shim/sl/canonical/ArmnnDevice.hpp
diff options
context:
space:
mode:
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