GridBarrierLifetime Class Reference#

hipCUB: hipcub::GridBarrierLifetime Class Reference
hipcub::GridBarrierLifetime Class Reference

GridBarrierLifetime extends GridBarrier to provide lifetime management of the temporary device storage needed for cooperation. More...

#include <grid_barrier.hpp>

Inheritance diagram for hipcub::GridBarrierLifetime:

Public Member Functions

hipError_t HostReset ()
 
hipError_t Setup (int sweep_grid_size)
 
 GridBarrierLifetime ()
 
hipError_t HostReset ()
 
virtual ~GridBarrierLifetime ()
 
hipError_t Setup (int sweep_grid_size)
 

Protected Attributes

size_t sync_bytes
 

Detailed Description

GridBarrierLifetime extends GridBarrier to provide lifetime management of the temporary device storage needed for cooperation.

Uses RAII for lifetime, i.e., device resources are reclaimed when the destructor is called.


The documentation for this class was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipcub/checkouts/docs-5.4.4/hipcub/include/hipcub/backend/cub/grid/grid_barrier.hpp