The parallel implementation in CellSetExplicit that builds cell-to-point
connectivity from point-to-cell connectivity uses a parallel sort-by-
key. The sort-by-key in the device adapter is not guaranteed to be
stable, so values associated with a particular key can be in any order.
The test for the result was expecting the connectivity array to be in a
particular order. Change the test to allow any connectivity ordering
that is still valid.
4757c0ae Merge branch 'master' of gitlab.kitware.com:Fasel/vtk-m into cell_to_point
a5f1f823 Set default device to cuda in unit test of DataSetExplicit to bypass compiler errors in CellSetExplicit.
480f0bd4 Merge branch 'master' of gitlab.kitware.com:Fasel/vtk-m into cell_to_point
02e16e7e Merge branch 'master' of gitlab.kitware.com:Fasel/vtk-m into cell_to_point
b47a352f Merge branch 'master' of gitlab.kitware.com:Fasel/vtk-m into cell_to_point
d167c755 Merge branch 'master' of gitlab.kitware.com:Fasel/vtk-m into cell_to_point
498fc682 Cell to point compiler errors
ed0ecf28 Parallel CellToPoint initial code.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !255
1b30d6e6 Update Cuda so that SumExclusiveScan supports fancy iterators.
97550d5e Update Cuda so that UnaryPredictes work with fancy cuda array handles.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !263
1b8fe17f Fix for several warnings
fd244c41 Fix errors and warnings caused by recent changes to device adapter tag logic
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !260
6e5f188b Add DeviceAdapterSerial.h to data set permuation test
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !253
A recent change to the DeviceAdapter header includes the TBB device if
available instead of the serial device. Thus, DeviceAdapterTagSerial was
not defined automatically in all cases for the build of
UnitTestDataSetPermutation. Add the header for that explicitly.
adding VTK file exporter and test cases
This adds a legacy VTK file exporter which supports unstructured, explicit, and point meshes. (Single Cell Type cell sets are also supported.)
See merge request !247
ca71d70b Update worklet UnitTests to not try statically known invalid combinations
6b2edb70 Update UnitTestDispatcherBase to use verify DynamicTransform error messages.
9fdc0f09 Improve the error message for Invoke type mismatch at compile time.
54d25fae Only perform DynamicTransformCont if at least one parameter is dynamic.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !249
8816642d Move algorithms out of DeviceAdapterAlgorithmGeneral to reduce compilation size
c78e54fa Move algorithms out of DeviceAdapterAlgorithmTBB to reduce compilation size.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !248
Previously we always ran DynamicTransformCont even if we knew all the types.
By checking for Dynamic types first, we save roughly 3% on the binary size.
This also is a good starting point for a redesign of DynamicTransformCont
39142d83 Add convenience tags like FieldInPoint, FieldInCell, to WorkletMapPointToCell
f34119b6 Clarify the name of worklet for point to cell operations.
2c767e10 Add WorkletMapTopologyBase to make Dispatcher templates easier to read.
05d397cb Remove unnecessary template parameters from DispatcherMapField
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !246
CUDA default constructors, destructors, and assignment operators
Several classes exclusively work in the control environment. However, CUDA likes to add __device__ to constructors, destructors, and assignment operators it automatically creates. This in turn causes warnings about the __device__ function using host-only classes (like boost::shared_ptr). Solve this problem by adding explicit methods for all of these.
See merge request !245