Viskores  1.0
Static Public Member Functions | List of all members
viskores::cont::DeviceTaskTypes< DeviceTag > Class Template Reference

Class providing a device-specific support for selecting the optimal Task type for a given worklet. More...

#include <DeviceAdapterAlgorithm.h>

Static Public Member Functions

template<typename WorkletType , typename InvocationType >
static viskores::exec::internal::TaskSingular< WorkletType, InvocationType > MakeTask (WorkletType &worklet, InvocationType &invocation, viskores::Id, viskores::Id globalIndexOffset=0)
 
template<typename WorkletType , typename InvocationType >
static viskores::exec::internal::TaskSingular< WorkletType, InvocationType > MakeTask (WorkletType &worklet, InvocationType &invocation, viskores::Id3, viskores::Id globalIndexOffset=0)
 

Detailed Description

template<typename DeviceTag>
class viskores::cont::DeviceTaskTypes< DeviceTag >

Class providing a device-specific support for selecting the optimal Task type for a given worklet.

When worklets are launched inside the execution environment we need to ask the device adapter what is the preferred execution style, be it a tiled iteration pattern, or strided. This class

By default if not specialized for a device adapter the default is to use viskores::exec::internal::TaskSingular

The class provide the actual implementation used by viskores::cont::DeviceTaskTypes.

When worklets are launched inside the execution environment we need to ask the device adapter what is the preferred execution style, be it a tiled iteration pattern, or strided. This class

By default if not specialized for a device adapter the default is to use viskores::exec::internal::TaskSingular

Member Function Documentation

◆ MakeTask() [1/2]

template<typename DeviceTag >
template<typename WorkletType , typename InvocationType >
static viskores::exec::internal::TaskSingular<WorkletType, InvocationType> viskores::cont::DeviceTaskTypes< DeviceTag >::MakeTask ( WorkletType &  worklet,
InvocationType &  invocation,
viskores::Id  ,
viskores::Id  globalIndexOffset = 0 
)
inlinestatic

◆ MakeTask() [2/2]

template<typename DeviceTag >
template<typename WorkletType , typename InvocationType >
static viskores::exec::internal::TaskSingular<WorkletType, InvocationType> viskores::cont::DeviceTaskTypes< DeviceTag >::MakeTask ( WorkletType &  worklet,
InvocationType &  invocation,
viskores::Id3  ,
viskores::Id  globalIndexOffset = 0 
)
inlinestatic

The documentation for this class was generated from the following files: