cub::ChainedPolicy< PolicyPtxVersion, PolicyT, PolicyT >

Defined in cub/util_device.cuh

template<int PolicyPtxVersion, typename PolicyT>
struct ChainedPolicy<PolicyPtxVersion, 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.

Friends

friend struct ChainedPolicy