multi_index.hpp File Reference

multi_index.hpp File Reference#

Composable Kernel: multi_index.hpp File Reference
multi_index.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  ck_tile

Typedefs

template<index_t N>
using ck_tile::multi_index = array<index_t, N>

Functions

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