cub::TransformPolicy#
-
struct TransformPolicy#
The tuning policy for all algorithms in DeviceTransform.
Public Functions
- inline friend ::std::ostream &operator<<(
- ::std::ostream &os,
- const TransformPolicy &policy
Public Members
-
int min_bytes_in_flight#
Minimum number of bytes in flight per SM to reach by scaling the items per thread.
Has no effect if algorithm is
vectorized.
-
TransformAlgorithm algorithm#
The transform algorithm to use by the kernel.
-
TransformPrefetchPolicy prefetch#
Sub-policy for the prefetch algorithm.
Only used when
algorithmisprefetchor whenalgorithmisvectorizedand the input pointers are not sufficiently aligned.
-
TransformVectorizedPolicy vectorized#
Sub-policy for the vectorized algorithm.
Only used when
algorithmisvectorized.
-
TransformAsyncCopyPolicy async_copy#
Sub-policy for the async copy algorithms.
Only used when
algorithmisldgstsorublkcp.
Friends
- inline friend constexpr bool operator==(
- const TransformPolicy &lhs,
- const TransformPolicy &rhs
- inline friend constexpr bool operator!=(
- const TransformPolicy &lhs,
- const TransformPolicy &rhs