block_topk_stream_2d_problem.hpp Source File

block_topk_stream_2d_problem.hpp Source File#

Composable Kernel: block_topk_stream_2d_problem.hpp Source File
block_topk_stream_2d_problem.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2018-2023, Advanced Micro Devices, Inc. All rights reserved.
3
4#pragma once
5
6#include "ck_tile/core.hpp"
7
8namespace ck_tile {
9
10/*
11simple 2d topk implementation, along row (dim=1)
12requirement:
13 1). each row is within a warp
14*/
15template <typename DataType_, typename IndexType_, index_t ColLanes_>
22} // namespace ck_tile
Definition tile/core/algorithm/cluster_descriptor.hpp:13
remove_cv_t< std::remove_reference_t< T > > remove_cvref_t
Definition type_traits.hpp:21
int32_t index_t
Definition integer.hpp:9
Definition block_topk_stream_2d_problem.hpp:17
remove_cvref_t< IndexType_ > IndexType
Definition block_topk_stream_2d_problem.hpp:19
remove_cvref_t< DataType_ > DataType
Definition block_topk_stream_2d_problem.hpp:18
static constexpr index_t ColLanes
Definition block_topk_stream_2d_problem.hpp:20