CUB  
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | List of all members
cub::SwizzleScanOp< ScanOp > Class Template Reference

Detailed description

template< typename ScanOp>
class cub::SwizzleScanOp< ScanOp >

Binary operator wrapper for switching non-commutative scan arguments.

Public Methods

__host__ __device__ __forceinline__ SwizzleScanOp (ScanOp scan_op)
 Constructor. More...
 
template<typename T >
__host__ __device__
__forceinline__ T 
operator() (const T &a, const T &b)
 Switch the scan arguments. More...
 

Constructor & Destructor Documentation

template<typename ScanOp >
__host__ __device__ __forceinline__ cub::SwizzleScanOp< ScanOp >::SwizzleScanOp ( ScanOp  scan_op)
inline

Constructor.

Member Function Documentation

template<typename ScanOp >
template<typename T >
__host__ __device__ __forceinline__ T cub::SwizzleScanOp< ScanOp >::operator() ( const T &  a,
const T &  b 
)
inline

Switch the scan arguments.


The documentation for this class was generated from the following file: