cub::SwizzleScanOp

Defined in /home/runner/work/cccl/cccl/cub/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.