vtk-m2/vtkm/exec/arg
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
..
testing Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
AspectTagDefault.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
BasicArg.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
CellShape.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
CMakeLists.txt Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
ExecutionSignatureTagBase.h Declare new VTKM_STATIC_ASSERT 2015-09-17 14:40:39 -06:00
Fetch.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
FetchTagArrayDirectIn.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
FetchTagArrayDirectInOut.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
FetchTagArrayDirectOut.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
FetchTagArrayTopologyMapIn.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
FetchTagExecObject.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
FetchTagTopologyIn.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
FromCount.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
FromIndices.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
ThreadIndicesBasic.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
ThreadIndicesTopologyMap.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
WorkIndex.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00