vtk-m/vtkm
Kenneth Moreland 99ce66c6fe Change Fetches to use ThreadIndices instead of Invocation.
Previously, all Fetch objects received an Invocation object in their
Load and Store methods. The point of this was that it allowed the Fetch
to get data from any of the execution objects. However, every Fetch
either just got data directly from its associated execution object or
else used a secondary execution object (the input domain) to get indices
into their own execution object.

This left two potential areas for improvement. First, pulling data out
of the Invocation object was unnecessarily complicated. It would be much
nicer to get data directly from the associated execution object. Second,
when getting index information from the input domain, it was often the
case that extra computations were necessary (particularly on structured
cell sets). There was no way to share the index information among
Fetches, and therefore the computations were replicated.

This change removes the Invocation from the Fetch Load and Store.
Instead, it passes the associated execution object and a new object type
called the ThreadIndices. The ThreadIndices are customized for the input
domain and therefore have all the information needed for a redirected
lookup. It is also a thread-local object so it can cache computed
indices and save on computation time.
2015-10-07 17:01:42 -06:00
..
benchmarking Replace ErrorControlOutOfMemory with ErrorControlBadAllocation. 2015-10-01 14:25:28 -04:00
cont Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
exec Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
internal Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
opengl Replace ErrorControlOutOfMemory with ErrorControlBadAllocation. 2015-10-01 14:25:28 -04:00
testing Fix unnecessary warning about divide by zero. 2015-09-24 21:52:58 -06:00
worklet Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
BinaryOperators.h Only suppress unused-local-typedef warning when it exists 2015-09-17 07:44:56 -06:00
BinaryPredicates.h Add vtkm/BinaryOperators header. 2015-08-04 16:55:53 -04:00
CellShape.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
CellTraits.h Remove pixel and voxel cell types 2015-08-27 17:03:13 -06:00
CMakeLists.txt Declare new VTKM_STATIC_ASSERT 2015-09-17 14:40:39 -06:00
Extent.h Merge branch 'master' into datamodel-design 2015-06-03 14:36:53 -04:00
ListTag.h Declare new VTKM_STATIC_ASSERT 2015-09-17 14:40:39 -06:00
Math.h Fix pyexpander errors 2015-09-02 13:47:33 -07:00
Math.h.in Add other Pi fraction constants and 2Pi 2015-09-02 10:06:02 -07:00
Matrix.h Add VecVariable 2015-08-14 09:15:46 -06:00
Pair.h Make vtkm::Pair behave as a better core type 2015-09-20 00:01:04 -06:00
StaticAssert.h Do not use _Pragma in code blocks with CUDA 2015-10-07 15:40:44 -06:00
TopologyElementTag.h Rename pragma header guard so it makes sense for tbb and thrust. 2015-08-13 09:04:23 -04:00
TypeListTag.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
Types.h Make vtkm::Pair behave as a better core type 2015-09-20 00:01:04 -06:00
TypeTraits.h Make vtkm::Pair behave as a better core type 2015-09-20 00:01:04 -06:00
UnaryPredicates.h Add vtkm/UnaryPredicates header. 2015-07-30 13:12:59 -04:00
VecRectilinearPointCoordinates.h Add VecRectilinearPointCoordinates class 2015-09-02 13:50:31 -07:00
VectorAnalysis.h Adding examples directory with isosurface rendering example 2015-09-01 17:09:36 -06:00
VecTraits.h Make vtkm::Pair behave as a better core type 2015-09-20 00:01:04 -06:00
VecVariable.h Add VecVariable 2015-08-14 09:15:46 -06:00