OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
cub::ChainedPolicy< PTX_VERSION, PolicyT, PrevPolicyT > Struct Template Reference

Helper for dispatching into a policy chain. More...

Detailed Description

template<int PTX_VERSION, typename PolicyT, typename PrevPolicyT>
struct cub::ChainedPolicy< PTX_VERSION, PolicyT, PrevPolicyT >

Helper for dispatching into a policy chain.

Definition at line 304 of file util_device.cuh.

Public Types

typedef If<(CUB_PTX_ARCH< PTX_VERSION), typenamePrevPolicyT::ActivePolicy, PolicyT >::Type ActivePolicy
 The policy for the active compiler pass.
 

Static Public Member Functions

template<typename FunctorT >
CUB_RUNTIME_FUNCTION static __forceinline__ cudaError_t Invoke (int ptx_version, FunctorT &op)
 Specializes and dispatches op in accordance to the first policy in the chain of adequate PTX version.
 

Member Typedef Documentation

◆ ActivePolicy

template<int PTX_VERSION, typename PolicyT , typename PrevPolicyT >
typedef If<(CUB_PTX_ARCH<PTX_VERSION),typenamePrevPolicyT::ActivePolicy,PolicyT>::Type cub::ChainedPolicy< PTX_VERSION, PolicyT, PrevPolicyT >::ActivePolicy

The policy for the active compiler pass.

Definition at line 307 of file util_device.cuh.

Member Function Documentation

◆ Invoke()

template<int PTX_VERSION, typename PolicyT , typename PrevPolicyT >
template<typename FunctorT >
CUB_RUNTIME_FUNCTION static __forceinline__ cudaError_t cub::ChainedPolicy< PTX_VERSION, PolicyT, PrevPolicyT >::Invoke ( int  ptx_version,
FunctorT &  op 
)
inlinestatic

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

Definition at line 312 of file util_device.cuh.


The documentation for this struct was generated from the following file: