vtk-m/vtkm/internal
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 Merge branch 'fix_typo_in_copyright' 2015-05-21 10:32:08 -04:00
ArrayPortalUniformPointCoordinates.h Update ArrayPortalUniformPointCoordinates 2015-08-25 14:27:01 -06:00
CMakeLists.txt Update ArrayPortalUniformPointCoordinates 2015-08-25 14:27:01 -06:00
Configure.h.in Merge branch 'xcode-7-warnings' into 'master' 2015-09-17 18:12:31 -04:00
ConfigureFor32.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
ConfigureFor64.h Add new lines at end of files. 2015-06-05 13:14:28 -04:00
ConnectivityStructuredInternals.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
ExportMacros.h Make a define to suppress false positive host/device warnings 2015-09-21 14:25:15 -04:00
FunctionInterface.h FunctionInterface suppresses warnings on calling host function from host/device 2015-09-21 15:26:28 -04:00
FunctionInterfaceDetailPost.h FunctionInterface suppresses warnings on calling host function from host/device 2015-09-21 15:26:28 -04:00
FunctionInterfaceDetailPost.h.in FunctionInterface suppresses warnings on calling host function from host/device 2015-09-21 15:26:28 -04:00
FunctionInterfaceDetailPre.h FunctionInterface suppresses warnings on calling host function from host/device 2015-09-21 15:26:28 -04:00
FunctionInterfaceDetailPre.h.in FunctionInterface suppresses warnings on calling host function from host/device 2015-09-21 15:26:28 -04:00
IndexTag.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
Invocation.h Change Fetches to use ThreadIndices instead of Invocation. 2015-10-07 17:01:42 -06:00
ListTagDetail.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
ListTagDetail.h.in The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00