| 1 | /******************************************************************************* |
| 2 | * Copyright 2016-2018 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_ELTWISE_PD_HPP |
| 18 | #define CPU_ELTWISE_PD_HPP |
| 19 | |
| 20 | #include <assert.h> |
| 21 | |
| 22 | #include "c_types_map.hpp" |
| 23 | #include "eltwise_pd.hpp" |
| 24 | #include "type_helpers.hpp" |
| 25 | #include "utils.hpp" |
| 26 | |
| 27 | namespace mkldnn { |
| 28 | namespace impl { |
| 29 | namespace cpu { |
| 30 | |
| 31 | struct cpu_eltwise_fwd_pd_t: public eltwise_fwd_pd_t { |
| 32 | using eltwise_fwd_pd_t::eltwise_fwd_pd_t; |
| 33 | }; |
| 34 | |
| 35 | struct cpu_eltwise_bwd_pd_t: public eltwise_bwd_pd_t { |
| 36 | using eltwise_bwd_pd_t::eltwise_bwd_pd_t; |
| 37 | }; |
| 38 | |
| 39 | } |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | #endif |
| 44 | |
| 45 | // vim: et ts=4 sw=4 cindent cino^=l0,\:0,N-s |
| 46 | |