XeTLA
v0.3.6
IntelĀ® Xe Templates for Linear Algebra - API Definition Document
Loading...
Searching...
No Matches
softmax_policy.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/softmax/common.hpp
"
23
24
namespace
gpu::xetla::group
{
25
26
template
<
typename
dtype_acc, gpu_arch arch_tag_ = gpu_arch::Xe>
27
struct
softmax_policy_fwd
{};
28
29
template
<
typename
dtype_in,
typename
dtype_acc,
30
gpu_arch
arch_tag_ =
gpu_arch::Xe
>
31
struct
softmax_policy_bwd
{};
32
33
}
// namespace gpu::xetla::group
common.hpp
C++ API.
gpu::xetla::group
Definition
limitation.hpp:607
gpu::xetla::gpu_arch
gpu_arch
Definition
common.hpp:73
gpu::xetla::gpu_arch::Xe
@ Xe
gpu::xetla::group::softmax_policy_bwd
Definition
softmax_policy.hpp:31
gpu::xetla::group::softmax_policy_fwd
Definition
softmax_policy.hpp:27
include
group
softmax
softmax_policy.hpp
Generated by
1.9.7