ThisThreadBlock< ThreadPerBlock > Struct Template Reference

ThisThreadBlock&lt; ThreadPerBlock &gt; Struct Template Reference#

Composable Kernel: ck::ThisThreadBlock< ThreadPerBlock > Struct Template Reference
ck::ThisThreadBlock< ThreadPerBlock > Struct Template Reference

#include <thread_group.hpp>

Static Public Member Functions

static __device__ constexpr index_t GetNumOfThread ()
static __device__ constexpr bool IsBelong ()
static __device__ index_t GetThreadId ()

Static Public Attributes

static constexpr index_t kNumThread_ = ThreadPerBlock

Member Function Documentation

◆ GetNumOfThread()

template<index_t ThreadPerBlock>
__device__ constexpr index_t ck::ThisThreadBlock< ThreadPerBlock >::GetNumOfThread ( )
inlinestaticconstexpr

◆ GetThreadId()

template<index_t ThreadPerBlock>
__device__ index_t ck::ThisThreadBlock< ThreadPerBlock >::GetThreadId ( )
inlinestatic

◆ IsBelong()

template<index_t ThreadPerBlock>
__device__ constexpr bool ck::ThisThreadBlock< ThreadPerBlock >::IsBelong ( )
inlinestaticconstexpr

Member Data Documentation

◆ kNumThread_

template<index_t ThreadPerBlock>
index_t ck::ThisThreadBlock< ThreadPerBlock >::kNumThread_ = ThreadPerBlock
staticconstexpr

The documentation for this struct was generated from the following file: