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
vectorizedand the vectorized code path is eligible at runtime.
-
TransformAlgorithm algorithm#
The transform algorithm to use by the kernel.
-
TransformPrefetchPolicy prefetch#
Sub-policy for the prefetch algorithm.
Only used when
algorithmisprefetchor whenalgorithmisvectorizedand the vectorized code path is not eligible at runtime.
-
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