thread_block_tile< size, void > Class Template Reference

thread_block_tile&lt; size, void &gt; Class Template Reference#

HIP Runtime API Reference: cooperative_groups::thread_block_tile< size, void > Class Template Reference
cooperative_groups::thread_block_tile< size, void > Class Template Reference

#include <amd_hip_cooperative_groups.h>

Inheritance diagram for cooperative_groups::thread_block_tile< size, void >:
[legend]
Collaboration diagram for cooperative_groups::thread_block_tile< size, void >:
[legend]

Public Member Functions

template<class ParentCGTy >
 thread_block_tile (const thread_block_tile< size, ParentCGTy > &g)
 
- 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.
 

Friends

template<unsigned int , class ParentCGTy >
class thread_block_tile
 

Additional Inherited Members

- Static Public Member Functions inherited from cooperative_groups::thread_block_tile_type< tileSize, ParentCGTy >
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 inherited from cooperative_groups::impl::thread_block_tile_internal< size, void >
 thread_block_tile_internal (const thread_block_tile_internal< tbtSize, tbtParentT > &g)
 
 thread_block_tile_internal (const thread_block &g)
 
- Protected Member Functions inherited from cooperative_groups::thread_block_tile_type< tileSize, ParentCGTy >
 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))
 
- 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
 

Constructor & Destructor Documentation

◆ thread_block_tile()

template<unsigned int size>
template<class ParentCGTy >
cooperative_groups::thread_block_tile< size, void >::thread_block_tile ( const thread_block_tile< size, ParentCGTy > &  g)
inline

Friends And Related Symbol Documentation

◆ thread_block_tile

template<unsigned int size>
template<unsigned int , class ParentCGTy >
friend class thread_block_tile
friend

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