VTK-m  1.8
Static Public Member Functions | List of all members
vtkm::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 vtkm::exec::internal::TaskSingular< WorkletType, InvocationType > MakeTask (WorkletType &worklet, InvocationType &invocation, vtkm::Id, vtkm::Id globalIndexOffset=0)
 
template<typename WorkletType , typename InvocationType >
static vtkm::exec::internal::TaskSingular< WorkletType, InvocationType > MakeTask (WorkletType &worklet, InvocationType &invocation, vtkm::Id3, vtkm::Id globalIndexOffset=0)
 

Detailed Description

template<typename DeviceTag>
class vtkm::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 vtkm::exec::internal::TaskSingular

The class provide the actual implementation used by vtkm::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 vtkm::exec::internal::TaskSingular

Member Function Documentation

◆ MakeTask() [1/2]

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

◆ MakeTask() [2/2]

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

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