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_shuffle.hpp"
20#include "gpu/ocl/shuffle_by_reorder.hpp"
21
22namespace dnnl {
23namespace impl {
24namespace gpu {
25
26namespace {
27
28// clang-format off
29constexpr impl_list_item_t impl_list[] = REG_SHUFFLE_P({
30 INSTANCE(ocl::shuffle_by_reorder_t)
31 INSTANCE(ocl::ref_shuffle_t)
32 nullptr,
33});
34// clang-format on
35} // namespace
36
37const impl_list_item_t *get_shuffle_impl_list(const shuffle_desc_t *desc) {
38 UNUSED(desc);
39 return impl_list;
40}
41
42} // namespace gpu
43} // namespace impl
44} // namespace dnnl
45