TopkSoftmaxKernel< Pipeline_ > Struct Template Reference#
Classes |
Public Types |
Public Member Functions |
Static Public Member Functions |
List of all members
ck_tile::TopkSoftmaxKernel< Pipeline_ > Struct Template Reference
#include <topk_softmax_kernel.hpp>
Classes | |
struct | TopkSoftmaxKargs |
Public Types | |
using | Pipeline = remove_cvref_t< Pipeline_ > |
using | Problem = remove_cvref_t< typename Pipeline::Problem > |
using | InputType = typename Problem::InputType |
using | WeightType = typename Problem::WeightType |
using | IndexType = typename Problem::IndexType |
using | Kargs = TopkSoftmaxKargs |
using | Hargs = TopkSoftmaxHostArgs |
Public Member Functions | |
CK_TILE_DEVICE void | operator() (Kargs kargs) const |
Static Public Member Functions | |
static constexpr CK_TILE_HOST auto | GridSize (const Hargs &h) |
static constexpr CK_TILE_HOST auto | MakeKargs (const Hargs &h) |
static constexpr CK_TILE_HOST_DEVICE auto | BlockSize () |
Member Typedef Documentation
◆ Hargs
template<typename Pipeline_ >
using ck_tile::TopkSoftmaxKernel< Pipeline_ >::Hargs = TopkSoftmaxHostArgs |
◆ IndexType
template<typename Pipeline_ >
using ck_tile::TopkSoftmaxKernel< Pipeline_ >::IndexType = typename Problem::IndexType |
◆ InputType
template<typename Pipeline_ >
using ck_tile::TopkSoftmaxKernel< Pipeline_ >::InputType = typename Problem::InputType |
◆ Kargs
template<typename Pipeline_ >
using ck_tile::TopkSoftmaxKernel< Pipeline_ >::Kargs = TopkSoftmaxKargs |
◆ Pipeline
template<typename Pipeline_ >
using ck_tile::TopkSoftmaxKernel< Pipeline_ >::Pipeline = remove_cvref_t<Pipeline_> |
◆ Problem
template<typename Pipeline_ >
using ck_tile::TopkSoftmaxKernel< Pipeline_ >::Problem = remove_cvref_t<typename Pipeline::Problem> |
◆ WeightType
template<typename Pipeline_ >
using ck_tile::TopkSoftmaxKernel< Pipeline_ >::WeightType = typename Problem::WeightType |
Member Function Documentation
◆ BlockSize()
template<typename Pipeline_ >
|
inlinestaticconstexpr |
◆ GridSize()
template<typename Pipeline_ >
|
inlinestaticconstexpr |
◆ MakeKargs()
template<typename Pipeline_ >
|
inlinestaticconstexpr |
◆ operator()()
template<typename Pipeline_ >
|
inline |
The documentation for this struct was generated from the following file:
- include/ck_tile/ops/topk_softmax/kernel/topk_softmax_kernel.hpp