VTK-m  2.2
vtkm::cont::ExecutionObjectBase Struct Reference

Base ExecutionObjectBase for execution objects to inherit from so that you can use an arbitrary object as a parameter in an execution environment function. More...

#include <ExecutionObjectBase.h>

Inheritance diagram for vtkm::cont::ExecutionObjectBase:
vtkm::cont::AtomicArray< T > vtkm::cont::CellLocatorBase vtkm::cont::CellLocatorPartitioned vtkm::cont::ColorTable vtkm::cont::ExecutionAndControlObjectBase vtkm::cont::PointLocatorBase vtkm::rendering::Texture2D< NumComponents >::Texture2DSampler vtkm::worklet::StableSortIndices::IndirectSortPredicateExecObject< KeyArrayType > vtkm::worklet::StableSortIndices::IndirectUniquePredicateExecObject< KeyArrayType >

Detailed Description

Base ExecutionObjectBase for execution objects to inherit from so that you can use an arbitrary object as a parameter in an execution environment function.

Any subclass of ExecutionObjectBase must implement a PrepareForExecution method that takes a device adapter tag and a vtkm::cont::Token and then returns an object for that device. The object must be valid as long as the Token is in scope.


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