/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-6.4.3/include/ck/tensor_operation/gpu/device/impl/device_reduce_common.hpp File Reference

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-6.4.3/include/ck/tensor_operation/gpu/device/impl/device_reduce_common.hpp File Reference#

Composable Kernel: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-6.4.3/include/ck/tensor_operation/gpu/device/impl/device_reduce_common.hpp File Reference
device_reduce_common.hpp File Reference
#include <vector>
#include <cassert>
#include "ck/utility/common_header.hpp"
#include "ck/utility/reduction_enums.hpp"
#include "ck/utility/reduction_operator.hpp"

Go to the source code of this file.

Namespaces

 ck
 
 ck::tensor_operation
 
 ck::tensor_operation::device
 

Functions

template<index_t Rank, int NumReduceDim>
std::pair< long_index_t, long_index_t > ck::tensor_operation::device::get_2d_lengths (const std::vector< index_t > &inLengths)
 
template<index_t Rank, int NumReduceDim>
std::pair< long_index_t, long_index_t > ck::tensor_operation::device::get_2d_lengths (const std::array< index_t, Rank > &inLengths)
 
template<index_t... Ns>
auto ck::tensor_operation::device::make_tuple_from_array_and_index_seq (const std::vector< index_t > &lengths, Sequence< Ns... >)
 
template<index_t arraySize>
auto ck::tensor_operation::device::make_tuple_from_array (const std::vector< index_t > &lengths, Number< arraySize >)
 
template<index_t Rank, index_t NumReduceDim>
std::vector< index_t > ck::tensor_operation::device::shuffle_tensor_dimensions (const std::vector< index_t > &origLengthsStrides, const std::vector< int > &reduceDims)
 
template<index_t Rank, index_t NumReduceDim>
std::array< index_t, Rank > ck::tensor_operation::device::shuffle_tensor_dimensions (const std::array< index_t, Rank > &origLengthsStrides, const std::array< int, NumReduceDim > &reduceDims)