XeTLA v0.3.6
IntelĀ® Xe Templates for Linear Algebra - API Definition Document
 
Loading...
Searching...
No Matches
gemm_preset.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
17#pragma once
18
20#include "kernel/gemm/common.hpp"
21
22namespace gpu::xetla {
23namespace detail {
27
32
37
42
47
59} // namespace detail
60
61using default_param_t = dict_t<>::template update_dict_t<
62 detail::param_dtype_bf16_bf16_bf16>::template update_dict_t<detail::
63 param_memlayout_rrr>::template update_dict_t<detail::
64 param_memalignment_8_8_8>::template update_dict_t<detail::
65 param_memspace_ggg>::template update_dict_t<detail::
66 param_performance_default>::template update_dict_t<detail::
67 param_runtime_default>::
68 template update_t<elem_t_t<tune_key::data_type_acc, float>,
75
76namespace kernel {
77using param_kslicing_g1l1_t = default_param_t::template update_t<
85
86using param_kslicing_g2l1_t = default_param_t::template update_t<
94
95using param_kslicing_g1l2_t = default_param_t::template update_t<
103
104} // namespace kernel
105
106namespace group {
107using param_dict1_wg_t = default_param_t::template update_t<
116}
117} // namespace gpu::xetla
default_param_t::template update_t< elem_t_t< tune_key::data_type_acc, float >, elem_t_t< tune_key::wg_tile_shape, shape< 256, 256 > >, elem_v_t< tune_key::wg_tile_k, 32UL, uint32_t >, elem_t_t< tune_key::sg_tile_shape, shape< 64, 32 > >, elem_v_t< tune_key::prefetch_distance, 3UL, uint32_t >, elem_v_t< tune_key::periodic_sync_interval, 8UL, uint32_t >, elem_t_t< tune_key::epilogue_policy, group::epilogue_policy_default< gpu_arch::Xe > > > param_dict1_wg_t
Definition gemm_preset.hpp:115
default_param_t::template update_t< elem_v_t< tune_key::global_kslicing_ratio, 1UL, uint32_t >, elem_v_t< tune_key::local_kslicing_ratio, 2UL, uint32_t >, elem_t_t< tune_key::wg_tile_shape, shape< 128, 64 > >, elem_v_t< tune_key::wg_tile_k, 32UL, uint32_t >, elem_t_t< tune_key::sg_tile_shape, shape< 32, 16 > >, elem_v_t< tune_key::dispatch_policy, tune_key_value::dispatch_policy_kslicing > > param_kslicing_g1l2_t
Definition gemm_preset.hpp:102
default_param_t::template update_t< elem_v_t< tune_key::global_kslicing_ratio, 1UL, uint32_t >, elem_v_t< tune_key::local_kslicing_ratio, 1UL, uint32_t >, elem_t_t< tune_key::wg_tile_shape, shape< 256, 256 > >, elem_v_t< tune_key::wg_tile_k, 32UL, uint32_t >, elem_t_t< tune_key::sg_tile_shape, shape< 64, 32 > >, elem_v_t< tune_key::dispatch_policy, tune_key_value::dispatch_policy_kslicing > > param_kslicing_g1l1_t
Definition gemm_preset.hpp:84
default_param_t::template update_t< elem_v_t< tune_key::global_kslicing_ratio, 2UL, uint32_t >, elem_v_t< tune_key::local_kslicing_ratio, 1UL, uint32_t >, elem_t_t< tune_key::wg_tile_shape, shape< 256, 256 > >, elem_v_t< tune_key::wg_tile_k, 32UL, uint32_t >, elem_t_t< tune_key::sg_tile_shape, shape< 64, 32 > >, elem_v_t< tune_key::dispatch_policy, tune_key_value::dispatch_policy_kslicing > > param_kslicing_g2l1_t
Definition gemm_preset.hpp:93
Definition arch_config.hpp:24
dict_t<>::template update_dict_t< detail::param_dtype_bf16_bf16_bf16 >::template update_dict_t< detail::param_memlayout_rrr >::template update_dict_t< detail::param_memalignment_8_8_8 >::template update_dict_t< detail::param_memspace_ggg >::template update_dict_t< detail::param_performance_default >::template update_dict_t< detail::param_runtime_default >::template update_t< elem_t_t< tune_key::data_type_acc, float >, elem_v_t< tune_key::global_kslicing_ratio, 1UL, uint32_t >, elem_v_t< tune_key::local_kslicing_ratio, 1UL, uint32_t >, elem_t_t< tune_key::wg_tile_shape, shape< 256, 256 > >, elem_t_t< tune_key::sg_tile_shape, shape< 64, 32 > >, elem_v_t< tune_key::param_optimizer_type, tune_key_value::param_optimizer_dummy > > default_param_t
Definition gemm_preset.hpp:74
Definition dict.hpp:103
Definition dict.hpp:97
Definition dict.hpp:100
Default epilogue policy for store C.
Definition epilogue_policy.hpp:32
Default GROUP_SWIZZLE implementation.
Definition dispatch_policy.hpp:32