vtk-m2/vtkm/cont/testing
Kenneth Moreland c224c2b98a Make ArrayHandle work better when uninitialized
Fixed a problem where ArrayHandle would cause a crash if you tried to
get the control portal on an uninitialized array (it was supposed to
throw an exception).

Also changed some methods in ArrayHandle so that they work resonably
without error when used with an uninitialized array. Specifically, the
aforementioned behavior was changed to "allocate" an array of size 0
(that is, call Allocate(0) on the storage object) to return an empty
array portal rather than throw an error. Although this use of
ArrayHandle can be considered erroneous, it is convenient the get an
empty array portal when dealing with a potentially unallocated array
rather than create a special condition.
2015-02-09 14:54:04 -07:00
..
CMakeLists.txt Add ArrayPortalToIterators functionality. 2014-09-08 13:39:58 -06:00
Testing.h Make sure all header wrapper macros start with vtk_m_ rather than vtkm_ 2014-06-11 10:43:36 -06:00
TestingDeviceAdapter.h Adding a cuda device adapter to vtkm. 2014-12-19 13:47:28 -05:00
UnitTestArrayHandle.cxx Make ArrayHandle work better when uninitialized 2015-02-09 14:54:04 -07:00
UnitTestArrayHandleCompositeVector.cxx Unify test values. 2014-10-14 10:00:34 -06:00
UnitTestArrayHandleCounting.cxx Remove vtkm::Scalar and vtkm::Vector# types 2014-10-09 08:54:56 -06:00
UnitTestArrayHandleUniformPointCoordinates.cxx Remove vtkm::Scalar and vtkm::Vector# types 2014-10-09 08:54:56 -06:00
UnitTestArrayPortalToIterators.cxx Change tests that try all base types to use different precision 2014-10-08 16:56:33 -06:00
UnitTestContTesting.cxx Update the initial repository to use the correct indentation style. 2014-02-11 16:20:30 -05:00
UnitTestDeviceAdapterAlgorithmDependency.cxx Add in a serial device adapter and required supporting classes. 2014-02-11 12:34:56 -05:00
UnitTestDeviceAdapterAlgorithmGeneral.cxx Change ArrayContainerControl to Storage. 2014-06-24 09:58:32 -06:00
UnitTestDeviceAdapterSerial.cxx Add in a serial device adapter and required supporting classes. 2014-02-11 12:34:56 -05:00
UnitTestDynamicArrayHandle.cxx Unify test values. 2014-10-14 10:00:34 -06:00
UnitTestDynamicPointCoordinates.cxx Merge branch 'any-scalar-width' 2014-10-21 16:53:50 -06:00
UnitTestPointCoordinates.cxx Merge branch 'any-scalar-width' 2014-10-21 16:53:50 -06:00
UnitTestStorageBasic.cxx delete operator and std::allocator are not necessarily the same 2014-10-23 15:39:05 -06:00
UnitTestStorageImplicit.cxx Change tests that try all base types to use different precision 2014-10-08 16:56:33 -06:00
UnitTestStorageListTag.cxx Change vtkm::Tuple to vtkm::Vec 2014-10-08 10:09:43 -06:00
UnitTestTimer.cxx Remove vtkm::Scalar and vtkm::Vector# types 2014-10-09 08:54:56 -06:00