/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/utility/array_multi_index.hpp File Reference

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/utility/array_multi_index.hpp File Reference#

Composable Kernel: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/utility/array_multi_index.hpp File Reference
array_multi_index.hpp File Reference
#include "common_header.hpp"

Go to the source code of this file.

Namespaces

 ck
 

Typedefs

template<index_t N>
using ck::MultiIndex = Array< index_t, N >
 

Functions

template<typename... Xs>
__host__ constexpr __device__ auto ck::make_multi_index (Xs &&... xs)
 
template<index_t NSize>
__host__ constexpr __device__ auto ck::make_zero_multi_index ()
 
template<typename T >
__host__ constexpr __device__ auto ck::to_multi_index (const T &x)
 
template<index_t NSize, typename X >
__host__ constexpr __device__ auto ck::operator+= (MultiIndex< NSize > &y, const X &x)
 
template<index_t NSize, typename X >
__host__ constexpr __device__ auto ck::operator-= (MultiIndex< NSize > &y, const X &x)
 
template<index_t NSize, typename T >
__host__ constexpr __device__ auto ck::operator+ (const MultiIndex< NSize > &a, const T &b)
 
template<index_t NSize, typename T >
__host__ constexpr __device__ auto ck::operator- (const MultiIndex< NSize > &a, const T &b)
 
template<index_t NSize, typename T >
__host__ constexpr __device__ auto ck::operator* (const MultiIndex< NSize > &a, const T &b)