arithmetic_sequence_gen< IBegin, IEnd, Increment > Struct Template Reference

arithmetic_sequence_gen&lt; IBegin, IEnd, Increment &gt; Struct Template Reference#

Composable Kernel: ck_tile::arithmetic_sequence_gen< IBegin, IEnd, Increment > Struct Template Reference
ck_tile::arithmetic_sequence_gen< IBegin, IEnd, Increment > Struct Template Reference

#include <sequence.hpp>

Classes

struct  F
 

Public Types

using type0 = typename sequence_gen<(IEnd - IBegin)/Increment, F >::type
 
using type1 = sequence<>
 
using type = typename std::conditional< kHasContent, type0, type1 >::type
 

Static Public Attributes

static constexpr bool kHasContent
 

Member Typedef Documentation

◆ type

template<index_t IBegin, index_t IEnd, index_t Increment>
using ck_tile::arithmetic_sequence_gen< IBegin, IEnd, Increment >::type = typename std::conditional<kHasContent, type0, type1>::type

◆ type0

template<index_t IBegin, index_t IEnd, index_t Increment>
using ck_tile::arithmetic_sequence_gen< IBegin, IEnd, Increment >::type0 = typename sequence_gen<(IEnd - IBegin) / Increment, F>::type

◆ type1

template<index_t IBegin, index_t IEnd, index_t Increment>
using ck_tile::arithmetic_sequence_gen< IBegin, IEnd, Increment >::type1 = sequence<>

Member Data Documentation

◆ kHasContent

template<index_t IBegin, index_t IEnd, index_t Increment>
constexpr bool ck_tile::arithmetic_sequence_gen< IBegin, IEnd, Increment >::kHasContent
staticconstexpr
Initial value:
=
(Increment > 0 && IBegin < IEnd) || (Increment < 0 && IBegin > IEnd)

The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck_tile/core/container/sequence.hpp