thread_block_tile_type< tileSize, void > Class Template Reference

thread_block_tile_type&lt; tileSize, void &gt; Class Template Reference#

HIP Runtime API Reference: cooperative_groups::thread_block_tile_type< tileSize, void > Class Template Reference
cooperative_groups::thread_block_tile_type< tileSize, void > Class Template Reference

#include <amd_hip_cooperative_groups.h>

Inheritance diagram for cooperative_groups::thread_block_tile_type< tileSize, void >:
[legend]
Collaboration diagram for cooperative_groups::thread_block_tile_type< tileSize, void >:
[legend]

Public Member Functions

unsigned int meta_group_rank () const
 
unsigned int meta_group_size () const
 Returns the number of groups created when the parent group was partitioned.
 
- Public Member Functions inherited from cooperative_groups::thread_block_tile_base< tileSize >
shfl (T var, int srcRank) const
 
shfl_down (T var, unsigned int lane_delta) const
 
shfl_up (T var, unsigned int lane_delta) const
 
shfl_xor (T var, unsigned int laneMask) const
 
unsigned long long ballot (int pred) const
 
int any (int pred) const
 
int all (int pred) const
 
unsigned long long match_any (T value) const
 
unsigned long long match_all (T value, int &pred) const
 
- Public Member Functions inherited from cooperative_groups::tiled_group
unsigned int size () const
 
unsigned int thread_rank () const
 Rank of the calling thread within [0, size() ).
 
void sync () const
 Synchronizes the threads in the group.
 
- Public Member Functions inherited from cooperative_groups::thread_group
uint32_t size () const
 
unsigned int cg_type () const
 Returns the type of the group.
 
uint32_t thread_rank () const
 Rank of the calling thread within [0, size() ).
 
bool is_valid () const
 Returns true if the group has not violated any API constraints.
 
void sync () const
 Synchronizes the threads in the group.
 

Static Public Member Functions

static void sync ()
 
- Static Public Member Functions inherited from cooperative_groups::thread_block_tile_base< tileSize >
static void sync ()
 
- Static Public Member Functions inherited from cooperative_groups::tile_base< size >
static constexpr unsigned int thread_rank ()
 Rank of the thread within this tile.
 
static unsigned int size ()
 Number of threads within this tile.
 

Protected Member Functions

 thread_block_tile_type (unsigned int meta_group_rank, unsigned int meta_group_size)
 
- Protected Member Functions inherited from cooperative_groups::tiled_group
 tiled_group (unsigned int tileSize)
 
- Protected Member Functions inherited from cooperative_groups::thread_group
 thread_group (internal::group_type type, uint32_t size=static_cast< uint64_t >(0), uint64_t mask=static_cast< uint64_t >(0))
 

Additional Inherited Members

- Protected Attributes inherited from cooperative_groups::thread_group
uint32_t _type
 
uint32_t _size
 Type of the thread_group.
 
uint64_t _mask
 Total number of threads in the tread_group.
 
struct cooperative_groups::thread_group::_coalesced_info coalesced_info
 
- Static Protected Attributes inherited from cooperative_groups::tile_base< size >
static constexpr unsigned int numThreads
 

Member Function Documentation

◆ sync()

template<unsigned int tileSize>
static void cooperative_groups::thread_block_tile_base< size >::sync ( )
inlinestatic

The documentation for this class was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/clr/hipamd/include/hip/amd_detail/amd_hip_cooperative_groups.h