c7bdf38abdb4aaf070572450df06de8aacad4e62
[platform/upstream/dldt.git] / inference-engine / thirdparty / clDNN / kernel_selector / core / actual_kernels / deconvolution / deconvolution_kernel_selector.cpp
1 // Copyright (c) 2016 Intel Corporation
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //      http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15
16 #include "deconvolution_kernel_selector.h"
17 #include "deconvolution_kernel_ref.h"
18 #include "deconvolution_kernel_bfyx_opt.h"
19
20 namespace kernel_selector {
21 deconvolution_kernel_selector::deconvolution_kernel_selector() {
22     Attach<DeconvolutionKernelRef>();
23     Attach<DeconvolutionKernel_bfyx_opt>();
24 }
25
26 KernelsData deconvolution_kernel_selector::GetBestKernels(const Params& params, const optional_params& options) const {
27     return GetNaiveBestKernel(params, options, KernelType::DECONVOLUTION);
28 }
29 }  // namespace kernel_selector