vtk-m2/vtkm/cont/testing
Kenneth Moreland c16236ce69 Use ArrayRangeCompute without specifying a device
Most uses of ArrayRangeCompute just want to get the range of the data
and probably don't have a particular device in mind. Thus, it is better
to use a TryExecute internally use whatever devices are available.

Note that when using TryExecute, the calling code is expected to be able
to support all devices. That might not always be the case. Thus, I am
experimenting a bit with how we incorporate this in a library. The
advantage of having the code compiled in a library is that you only have
to compile it once and the calling code does not need to worry about
CUDA, etc.

However, because ArrayRangeCompute is templated, we can only pre-compile
some subset of array handle types. The most common are compiled into the
code (matching all the predefined ArrayHandles as well as some special
cases). If the code wants to use some other type, it has to include
ArrayRangeCompute.hxx. The only place where this is necessary is a test
that intentially trys to find the range on an uncommon type.

If array portals were to support virtual methods, then we should be able
to modify this code so that we could precompile for all array handle
types.
2017-03-09 13:18:36 -05:00
..
CMakeLists.txt Add ArrayHandleDiscard for unused outputs. 2017-02-07 15:55:33 -05:00
ExplicitTestData.h Add tests for DataSetBuilderExplicit. 2016-01-05 16:28:57 -05:00
MakeTestDataSet.h Add better test for external faces 2017-01-26 13:35:49 -07:00
Testing.h Catch all exceptions by reference 2017-02-23 13:25:01 -05:00
TestingArrayHandles.h Support using empty array handles as input 2017-02-14 15:27:34 -07:00
TestingComputeRange.h Use ArrayRangeCompute without specifying a device 2017-03-09 13:18:36 -05:00
TestingDataSetExplicit.h Catch all exceptions by reference 2017-02-23 13:25:01 -05:00
TestingDataSetSingleType.h Make it not possible to create a cell set without specifying num points 2017-01-12 13:02:10 -07:00
TestingDeviceAdapter.h Fix device adapter algorithms for small arrays 2017-03-08 19:05:28 -05:00
TestingFancyArrayHandles.h Remove typedef that is no longer used 2017-02-15 16:59:54 -07:00
UnitTestArrayHandleCartesianProduct.cxx Move default device selection out of private headers. 2017-02-16 13:40:35 -05:00
UnitTestArrayHandleCompositeVector.cxx Catch all exceptions by reference 2017-02-23 13:25:01 -05:00
UnitTestArrayHandleConcatenate.cxx fix a warning 2016-08-17 09:14:29 -07:00
UnitTestArrayHandleCounting.cxx Remove cont/Assert.h and exec/Assert.h 2016-04-20 15:41:14 -06:00
UnitTestArrayHandleDiscard.cxx Catch all exceptions by reference 2017-02-23 13:25:01 -05:00
UnitTestArrayHandleImplicit.cxx Remove exports for header-only functions/methods 2016-11-15 22:22:13 -07:00
UnitTestArrayHandleIndex.cxx Add ArrayHandleIndex class. 2015-09-14 22:11:09 -06:00
UnitTestArrayHandlePermutation.cxx Remove exports for header-only functions/methods 2016-11-15 22:22:13 -07:00
UnitTestArrayHandleTransform.cxx Remove exports for header-only functions/methods 2016-11-15 22:22:13 -07:00
UnitTestArrayHandleUniformPointCoordinates.cxx Update ArrayPortalUniformPointCoordinates 2015-08-25 14:27:01 -06:00
UnitTestArrayPortalToIterators.cxx Remove exports for header-only functions/methods 2016-11-15 22:22:13 -07:00
UnitTestContTesting.cxx Remove cont/Assert.h and exec/Assert.h 2016-04-20 15:41:14 -06:00
UnitTestDataSetBuilderExplicit.cxx Updating formatting and fixing compiler warnings 2017-02-07 13:02:27 -05:00
UnitTestDataSetBuilderRectilinear.cxx Updating formatting and fixing compiler warnings 2017-02-07 11:52:53 -05:00
UnitTestDataSetBuilderUniform.cxx Updating formatting and fixing compiler warnings 2017-02-07 13:02:27 -05:00
UnitTestDataSetPermutation.cxx Make it not possible to create a cell set without specifying num points 2017-01-12 13:02:10 -07:00
UnitTestDataSetRectilinear.cxx Add vtkm/cont/serial directory for the serial backend. 2016-09-28 14:22:53 -04:00
UnitTestDataSetUniform.cxx Add vtkm/cont/serial directory for the serial backend. 2016-09-28 14:22:53 -04:00
UnitTestDeviceAdapterAlgorithmDependency.cxx Add vtkm/cont/serial directory for the serial backend. 2016-09-28 14:22:53 -04:00
UnitTestDeviceAdapterAlgorithmGeneral.cxx Remove exports for header-only functions/methods 2016-11-15 22:22:13 -07:00
UnitTestDynamicArrayHandle.cxx Catch all exceptions by reference 2017-02-23 13:25:01 -05:00
UnitTestDynamicCellSet.cxx Prefer vtkm::cont::CastAndCall function over the member method. 2016-08-05 15:29:39 -04:00
UnitTestRuntimeDeviceInformation.cxx Add vtkm/cont/serial directory for the serial backend. 2016-09-28 14:22:53 -04:00
UnitTestStorageBasic.cxx Catch all exceptions by reference 2017-02-23 13:25:01 -05:00
UnitTestStorageImplicit.cxx Catch all exceptions by reference 2017-02-23 13:25:01 -05:00
UnitTestStorageListTag.cxx Remove exports for header-only functions/methods 2016-11-15 22:22:13 -07:00
UnitTestTimer.cxx Consistently include windows.h by making a wrapper header. 2016-11-28 09:54:37 -05:00
UnitTestTryExecute.cxx Remove exports for header-only functions/methods 2016-11-15 22:22:13 -07:00