1 | /******************************************************************************* |
2 | * Copyright 2021-2022 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 | #include "gpu/gpu_impl_list.hpp" |
18 | |
19 | #include "gpu/ocl/ref_zero_pad.hpp" |
20 | |
21 | namespace dnnl { |
22 | namespace impl { |
23 | namespace gpu { |
24 | |
25 | namespace { |
26 | |
27 | // clang-format off |
28 | constexpr impl_list_item_t impl_list[] = { |
29 | INSTANCE(ocl::ref_zero_pad_t) |
30 | nullptr, |
31 | }; |
32 | // clang-format on |
33 | } // namespace |
34 | |
35 | const impl_list_item_t *get_zero_pad_impl_list(const zero_pad_desc_t *desc) { |
36 | UNUSED(desc); |
37 | return impl_list; |
38 | } |
39 | |
40 | } // namespace gpu |
41 | } // namespace impl |
42 | } // namespace dnnl |
43 | |