Binary operator wrapper for switching non-commutative scan arguments. More...
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. | |
|
inline |
Constructor.
Definition at line 220 of file thread_operators.cuh.
|
inline |
Switch the scan arguments.
Definition at line 225 of file thread_operators.cuh.
|
private |
Wrapped scan operator.
Definition at line 214 of file thread_operators.cuh.