• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
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 #ifndef TENSORFLOW_COMPILER_XLA_SERVICE_CPU_RUNTIME_CONV2D_MKL_H_
17 #define TENSORFLOW_COMPILER_XLA_SERVICE_CPU_RUNTIME_CONV2D_MKL_H_
18 
19 #include <iostream>
20 #include "tensorflow/core/platform/types.h"
21 
22 extern "C" {
23 
24 extern void __xla_cpu_runtime_MKLConvF32(
25     const void* /* xla::ExecutableRunOptions* */ run_options_ptr, float* out,
26     float* lhs, float* rhs, tensorflow::int64 input_batch,
27     tensorflow::int64 input_rows, tensorflow::int64 input_cols,
28     tensorflow::int64 input_channels, tensorflow::int64 kernel_rows,
29     tensorflow::int64 kernel_cols, tensorflow::int64 kernel_channels,
30     tensorflow::int64 kernel_filters, tensorflow::int64 output_rows,
31     tensorflow::int64 output_cols, tensorflow::int64 row_stride,
32     tensorflow::int64 col_stride, tensorflow::int64 padding_top,
33     tensorflow::int64 padding_bottom, tensorflow::int64 padding_left,
34     tensorflow::int64 padding_right, tensorflow::int64 lhs_row_dilation,
35     tensorflow::int64 lhs_col_dilation, tensorflow::int64 rhs_row_dilation,
36     tensorflow::int64 rhs_col_dilation);
37 }
38 
39 #endif  // TENSORFLOW_COMPILER_XLA_SERVICE_CPU_RUNTIME_CONV2D_MKL_H_
40