cub::ChainedPolicy< PTX_VERSION, PolicyT, PolicyT >

Defined in /home/runner/work/cccl/cccl/cub/cub/util_device.cuh

template<int PTX_VERSION, typename PolicyT>
struct ChainedPolicy<PTX_VERSION, PolicyT, PolicyT>

Helper for dispatching into a policy chain (end-of-chain specialization)

Public Types

using ActivePolicy = PolicyT

The policy for the active compiler pass.

Public Static Functions

template<typename FunctorT>
static inline cudaError_t Invoke(int, FunctorT &op)

Specializes and dispatches op in accordance to the first policy in the chain of adequate PTX version.