array_multi_index.hpp File Reference

array_multi_index.hpp File Reference#

Composable Kernel: 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

namespace  ck

Typedefs

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

Functions

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