1/*******************************************************************************
2* Copyright 2020-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#ifndef CPU_X64_JIT_GEMM_X8S8S32X_CONVOLUTION_UTILS_HPP
18#define CPU_X64_JIT_GEMM_X8S8S32X_CONVOLUTION_UTILS_HPP
19
20#include "cpu/gemm_x8s8s32x_convolution_utils.hpp"
21#include "cpu/x64/injectors/injector_utils.hpp"
22
23namespace dnnl {
24namespace impl {
25namespace cpu {
26namespace x64 {
27namespace gemm_x8s8s32x_convolution_utils {
28
29cpu::gemm_x8s8s32x_convolution_utils::pp_ker_t *jit_pp_ker_create(
30 const convolution_pd_t *pd, const conv_gemm_conf_t &jcp);
31bool mayiuse_jit_pp_kernel(data_type_t dst_dt) noexcept;
32bool post_ops_ok(const post_ops_t &post_ops, const memory_desc_wrapper *dst_d);
33
34} // namespace gemm_x8s8s32x_convolution_utils
35} // namespace x64
36} // namespace cpu
37} // namespace impl
38} // namespace dnnl
39
40#endif
41