Viskores  1.0
viskores::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 viskores::cont::ExecutionObjectBase:
viskores::cont::AtomicArray< T > viskores::cont::CellLocatorBase viskores::cont::CellLocatorPartitioned viskores::cont::ColorTable viskores::cont::ExecutionAndControlObjectBase viskores::cont::PointLocatorBase viskores::rendering::Texture2D< NumComponents >::Texture2DSampler viskores::worklet::StableSortIndices::IndirectSortPredicateExecObject< KeyArrayType > viskores::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 viskores::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: