1 | /******************************************************************************* |
2 | * Copyright 2020 Intel Corporation |
3 | * |
4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | * you may not use this file except in compliance with the License. |
6 | * You may obtain a copy of the License at |
7 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * |
10 | * Unless required by applicable law or agreed to in writing, software |
11 | * distributed under the License is distributed on an "AS IS" BASIS, |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. |
15 | *******************************************************************************/ |
16 | |
17 | #ifndef CPU_X64_LRN_LRN_EXECUTOR_HPP |
18 | #define CPU_X64_LRN_LRN_EXECUTOR_HPP |
19 | |
20 | #include "common/c_types_map.hpp" |
21 | #include "common/primitive.hpp" |
22 | |
23 | namespace dnnl { |
24 | namespace impl { |
25 | namespace cpu { |
26 | namespace x64 { |
27 | namespace lrn { |
28 | |
29 | class i_lrn_executor_t { |
30 | public: |
31 | virtual status_t execute(const exec_ctx_t &ctx) const = 0; |
32 | virtual ~i_lrn_executor_t() = default; |
33 | virtual status_t create_kernel() = 0; |
34 | }; |
35 | |
36 | } // namespace lrn |
37 | } // namespace x64 |
38 | } // namespace cpu |
39 | } // namespace impl |
40 | } // namespace dnnl |
41 | |
42 | #endif |