Sadik Armagan | 045f6be | 2020-09-10 13:37:32 +0100 | [diff] [blame] | 1 | // |
2 | // Copyright © 2020 Arm Ltd and Contributors. All rights reserved. | ||||
3 | // SPDX-License-Identifier: MIT | ||||
4 | // | ||||
5 | #pragma once | ||||
6 | |||||
7 | #include <armnn/backends/IBackendContext.hpp> | ||||
8 | |||||
9 | namespace armnn | ||||
10 | { | ||||
11 | |||||
12 | class ClBackendModelContext : public IBackendModelContext | ||||
13 | { | ||||
14 | public: | ||||
15 | ClBackendModelContext(const ModelOptions& modelOptions); | ||||
16 | |||||
17 | bool IsFastMathEnabled() const; | ||||
18 | |||||
19 | private: | ||||
20 | bool m_IsFastMathEnabled; | ||||
21 | }; | ||||
22 | |||||
23 | } // namespace armnn |