/******************************************************************************* * Copyright 2016-2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *******************************************************************************/ #ifndef JIT_AVX_GEMM_F32_HPP #define JIT_AVX_GEMM_F32_HPP #include "gemm_utils_f32.hpp" #include "mkldnn_types.h" namespace mkldnn { namespace impl { namespace cpu { mkldnn_status_t jit_avx_gemm_f32( const char *transa, const char *transb, const int *M, const int *N, const int *K, const float *alpha, const float *A, const int *lda, const float *B, const int *ldb, const float *beta, float *C, const int *ldc, const float *bias = nullptr); namespace avx_gemm_f32 { void sgemm_nocopy_driver(const char *transa, const char *transb, int m, int n, int k, const float *alpha, const float *a, gemm_utils::dim_t lda, const float *b, gemm_utils::dim_t ldb, const float *beta, float *c, gemm_utils::dim_t ldc, const float *bias, float *ws); } } } } #endif // JIT_AVX_GEMM_F32_HPP