topk_softmax_kernel.hpp Source File#
topk_softmax_kernel.hpp
Go to the documentation of this file.
#define HIP_CHECK_ERROR(retval_or_funcall)
Definition host_utility/hip_check_error.hpp:21
Definition tile/core/algorithm/cluster_descriptor.hpp:13
remove_cv_t< std::remove_reference_t< T > > remove_cvref_t
Definition type_traits.hpp:21
CK_TILE_HOST_DEVICE constexpr auto make_naive_tensor_view(DataType *__restrict__ p, const tuple< Lengths... > &lengths, const tuple< Strides... > &strides, number< GuaranteedLastDimensionVectorLength >=number<-1 >{}, number< GuaranteedLastDimensionVectorStride >=number<-1 >{})
Definition tensor_view.hpp:471
__device__ uint32_t amd_wave_read_first_lane(uint16_t v)
Definition tile/core/arch/amd_buffer_addressing.hpp:35
CK_TILE_DEVICE constexpr auto make_tile_window(null_tensor_view, const WindowLengths &window_lengths, const multi_index< WindowLengths::size()> &, Ts &&...)
Definition null_tile_window.hpp:75
CK_TILE_HOST_DEVICE constexpr auto pad_tensor_view(const TensorView &tensor_view, const TileLengths &tile_lengths, DoPads)
Definition tensor_view.hpp:530
CK_TILE_HOST_DEVICE constexpr auto make_tuple(Xs &&... xs)
Definition tile/core/container/tuple.hpp:360
Definition topk_softmax_kernel.hpp:16
index_t stride_output
Definition topk_softmax_kernel.hpp:24
Definition topk_softmax_kernel.hpp:40
const void * p_input
Definition topk_softmax_kernel.hpp:41
void * p_output
Definition topk_softmax_kernel.hpp:42
index_t stride_output
Definition topk_softmax_kernel.hpp:48
index_t stride_input
Definition topk_softmax_kernel.hpp:47
index_t num_rows
Definition topk_softmax_kernel.hpp:44
void * p_indices
Definition topk_softmax_kernel.hpp:43
index_t num_experts
Definition topk_softmax_kernel.hpp:45
Definition topk_softmax_kernel.hpp:29
static CK_TILE_HOST constexpr auto GridSize(const Hargs &h)
Definition topk_softmax_kernel.hpp:54
static CK_TILE_HOST_DEVICE constexpr auto BlockSize()
Definition topk_softmax_kernel.hpp:90
static constexpr index_t kBlockSize
Definition topk_softmax_kernel.hpp:37
remove_cvref_t< typename Pipeline::Problem > Problem
Definition topk_softmax_kernel.hpp:31
remove_cvref_t< Pipeline_ > Pipeline
Definition topk_softmax_kernel.hpp:30
static CK_TILE_HOST constexpr auto MakeKargs(const Hargs &h)
Definition topk_softmax_kernel.hpp:76
typename Problem::InputType InputType
Definition topk_softmax_kernel.hpp:33
typename Problem::WeightType WeightType
Definition topk_softmax_kernel.hpp:34
CK_TILE_DEVICE void operator()(Kargs kargs) const
Definition topk_softmax_kernel.hpp:92
typename Problem::IndexType IndexType
Definition topk_softmax_kernel.hpp:35
Definition tile/core/container/sequence.hpp:49