XeTLA v0.3.6
IntelĀ® Xe Templates for Linear Algebra - API Definition Document
 
Loading...
Searching...
No Matches
api.hpp
Go to the documentation of this file.
1/*******************************************************************************
2* Copyright (c) 2022-2023 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
19
20#pragma once
21
22#include "group/gemm/common.hpp"
23
24namespace gpu::xetla::group {
25
28
32template <typename tile_shape, gpu_arch arch_tag, class enable = void>
34
38template <typename tile_shape, gpu_arch arch_tag, class enable = void>
40
47template <typename compute_policy, typename tile_shape, typename mem_desc_a,
48 typename mem_desc_b,
49 typename pre_processing
51 class enable = void>
52class gemm_t {};
53
70template <typename dtype_a, typename dtype_b, mem_layout mem_layout_a,
71 mem_layout mem_layout_b, mem_space mem_space_a, mem_space mem_space_b,
72 int alignment_a, int alignment_b, typename dtype_acc,
73 typename tile_shape, int k_stride, mma_engine engine, gpu_arch arch_tag,
74 int stages = 3, int sync_freq = 0, class enable = void>
76
78
79} // namespace gpu::xetla::group
Gemm selection functor.
Definition api.hpp:75
Gemm functor.
Definition api.hpp:52
Definition limitation.hpp:607
mem_space
Definition common.hpp:77
mma_engine
Definition common.hpp:225
gpu_arch
Definition common.hpp:73
mem_layout
Definition common.hpp:76
Gemm default pre_processing functor.
Definition api.hpp:33
Gemm pre_processing functor with applying relu op to matA.
Definition api.hpp:39