VTK-m  2.0
Namespaces
TryExecute.h File Reference
#include <vtkm/cont/DeviceAdapterList.h>
#include <vtkm/cont/DeviceAdapterTag.h>
#include <vtkm/cont/ErrorUserAbort.h>
#include <vtkm/cont/Logging.h>
#include <vtkm/cont/RuntimeDeviceTracker.h>

Go to the source code of this file.

Namespaces

 vtkm
 Groups connected points that have the same field value.
 
 vtkm::cont
 VTK-m Control Environment.
 

Functions

template<typename Functor >
VTKM_CONT bool vtkm::cont::TryExecuteOnDevice (vtkm::cont::DeviceAdapterId devId, Functor &&functor)
 Try to execute a functor on a specific device selected at runtime. More...
 
template<typename Functor , typename Arg1 , typename... Args>
VTKM_CONT bool vtkm::cont::TryExecuteOnDevice (vtkm::cont::DeviceAdapterId devId, Functor &&functor, Arg1 &&arg1, Args &&... args)
 Try to execute a functor on a specific device selected at runtime. More...
 
template<typename Functor , typename... Args>
VTKM_CONT bool vtkm::cont::TryExecute (Functor &&functor, Args &&... args)
 Try to execute a functor on a set of devices until one succeeds. More...
 
template<typename Functor >
VTKM_CONT bool vtkm::cont::TryExecuteOnDevice (vtkm::cont::DeviceAdapterId devId, Functor &&functor)
 Try to execute a functor on a specific device selected at runtime. More...
 
template<typename Functor , typename Arg1 , typename... Args>
VTKM_CONT bool vtkm::cont::TryExecuteOnDevice (vtkm::cont::DeviceAdapterId devId, Functor &&functor, Arg1 &&arg1, Args &&... args)
 Try to execute a functor on a specific device selected at runtime. More...
 
template<typename Functor , typename... Args>
VTKM_CONT bool vtkm::cont::TryExecute (Functor &&functor, Args &&... args)
 Try to execute a functor on a set of devices until one succeeds. More...