diff options
Diffstat (limited to 'src/backends/cl/ClBackendModelContext.hpp')
-rw-r--r-- | src/backends/cl/ClBackendModelContext.hpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/backends/cl/ClBackendModelContext.hpp b/src/backends/cl/ClBackendModelContext.hpp new file mode 100644 index 0000000000..59f7f8ff92 --- /dev/null +++ b/src/backends/cl/ClBackendModelContext.hpp @@ -0,0 +1,23 @@ +// +// Copyright © 2020 Arm Ltd and Contributors. All rights reserved. +// SPDX-License-Identifier: MIT +// +#pragma once + +#include <armnn/backends/IBackendContext.hpp> + +namespace armnn +{ + +class ClBackendModelContext : public IBackendModelContext +{ +public: + ClBackendModelContext(const ModelOptions& modelOptions); + + bool IsFastMathEnabled() const; + +private: + bool m_IsFastMathEnabled; +}; + +} // namespace armnn
\ No newline at end of file |