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
22
#include "
experimental/kernel/reduction/common.hpp
"
23
24
namespace
gpu::xetla::kernel
{
25
33
template
<uint32_t wg_tile_n_, uint32_t wg_tile_m_, uint32_t sg_tile_n_,
34
uint32_t sg_tile_m_,
bool
is_dynamic_job_ =
true
>
35
struct
row_reduction_attr_t
{
36
static
constexpr
uint32_t
wg_tile_m
= wg_tile_m_;
37
static
constexpr
uint32_t
wg_tile_n
= wg_tile_n_;
38
static
constexpr
uint32_t
sg_tile_m
= sg_tile_m_;
39
static
constexpr
uint32_t
sg_tile_n
= sg_tile_n_;
40
static
constexpr
bool
is_dynamic_job
= is_dynamic_job_;
41
};
42
43
}
// namespace gpu::xetla::kernel
common.hpp
C++ API.
gpu::xetla::kernel
Definition
limitation.hpp:734
gpu::xetla::kernel::row_reduction_attr_t
Sets up attribute of the row reduction.
Definition
config.hpp:35
gpu::xetla::kernel::row_reduction_attr_t::sg_tile_m
static constexpr uint32_t sg_tile_m
Definition
config.hpp:38
gpu::xetla::kernel::row_reduction_attr_t::sg_tile_n
static constexpr uint32_t sg_tile_n
Definition
config.hpp:39
gpu::xetla::kernel::row_reduction_attr_t::wg_tile_m
static constexpr uint32_t wg_tile_m
Definition
config.hpp:36
gpu::xetla::kernel::row_reduction_attr_t::wg_tile_n
static constexpr uint32_t wg_tile_n
Definition
config.hpp:37
gpu::xetla::kernel::row_reduction_attr_t::is_dynamic_job
static constexpr bool is_dynamic_job
Definition
config.hpp:40
include
experimental
kernel
reduction
config.hpp
Generated by
1.9.7