OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
cub::SwizzleScanOp< ScanOp > Class Template Reference

Binary operator wrapper for switching non-commutative scan arguments. More...

Detailed Description

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

Binary operator wrapper for switching non-commutative scan arguments.

Definition at line 209 of file thread_operators.cuh.

Public Member Functions

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

Private Attributes

ScanOp scan_op
 Wrapped scan operator.
 

Constructor & Destructor Documentation

◆ SwizzleScanOp()

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

Constructor.

Definition at line 220 of file thread_operators.cuh.

Member Function Documentation

◆ operator()()

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.

Definition at line 225 of file thread_operators.cuh.

Field Documentation

◆ scan_op

template<typename ScanOp >
ScanOp cub::SwizzleScanOp< ScanOp >::scan_op
private

Wrapped scan operator.

Definition at line 214 of file thread_operators.cuh.


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