VTK-m
2.2
|
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>
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.