thread_block_tile_type< tileSize, ParentCGTy > Class Template Reference

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

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

Group type - thread_block_tile. More...

#include <amd_hip_cooperative_groups.h>

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

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.
 
- Static Public Member Functions inherited from cooperative_groups::parent_group_info< tileSize, ParentCGTy >
static unsigned int meta_group_rank ()
 
static unsigned int meta_group_size ()
 Returns the number of groups created when the parent group was partitioned.
 

Protected Member Functions

 thread_block_tile_type ()
 
- 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

- 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.
 
- 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
 

Detailed Description

template<unsigned int tileSize, class ParentCGTy>
class cooperative_groups::thread_block_tile_type< tileSize, ParentCGTy >

Group type - thread_block_tile.

Represents one tile of thread group.

Note
This type is implemented on Linux, under development on Microsoft Windows.

Member Function Documentation

◆ sync()

template<unsigned int tileSize, class ParentCGTy >
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