DoubleBuffer< T > Struct Template Reference

DoubleBuffer&lt; T &gt; Struct Template Reference#

hipCUB: hipcub::DoubleBuffer< T > Struct Template Reference
hipcub::DoubleBuffer< T > Struct Template Reference

Public Member Functions

__host__ __device__ DoubleBuffer (T *d_current, T *d_alternate)
 
__host__ __device__ T * Current ()
 
__host__ __device__ T * Alternate ()
 

Public Attributes

T * d_buffers [2]
 
int selector
 

The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipcub/checkouts/docs-5.6.0/hipcub/include/hipcub/backend/rocprim/util_type.hpp