cub::SwizzleScanOp

Defined in cub/thread/thread_operators.cuh

template<typename ScanOp>
class SwizzleScanOp

Binary operator wrapper for switching non-commutative scan arguments.

Public Functions

inline SwizzleScanOp(ScanOp scan_op)

Constructor.

template<typename T>
inline T operator()(const T &a, const T &b)

Switch the scan arguments.