XeTLA v0.3.6
IntelĀ® Xe Templates for Linear Algebra - API Definition Document
 
Loading...
Searching...
No Matches
config.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
23
24namespace gpu::xetla::kernel {
25
32template <uint32_t wg_tile_n_, uint32_t wg_tile_m_, uint32_t sg_tile_n_,
33 uint32_t sg_tile_m_>
35 static constexpr uint32_t wg_tile_m = wg_tile_m_;
36 static constexpr uint32_t wg_tile_n = wg_tile_n_;
37 static constexpr uint32_t sg_tile_m = sg_tile_m_;
38 static constexpr uint32_t sg_tile_n = sg_tile_n_;
39};
40
41} // namespace gpu::xetla::kernel
C++ API.
Definition limitation.hpp:734
static constexpr uint32_t sg_tile_m
Definition config.hpp:37
static constexpr uint32_t sg_tile_n
Definition config.hpp:38
static constexpr uint32_t wg_tile_m
Definition config.hpp:35
static constexpr uint32_t wg_tile_n
Definition config.hpp:36