vtk-m/vtkm
Kenneth Moreland 10f21b21ae Pre-allocate arrays for MergePartitionedDataSet
The initial implementation of `MergePartitionedDataSet` would grow each
array as it was generated. As each partition was revisited, the arrays
being merged would be reallocated and data appended to the end. Although
this works, it is slower than necessary. Each reallocation has to copy
the previously saved data into the newly allocated memory space.

This new implementation first counts how big each array should be and
then copies data from each partition into the appropriate location of
each dataset.

Also changed the templating of how fields are copied so that all field
types are supported, not just those in the common types.
2022-01-06 13:01:04 -07:00
..
cont Pre-allocate arrays for MergePartitionedDataSet 2022-01-06 13:01:04 -07:00
exec Compile more sources without device compiler 2022-01-03 08:23:04 -07:00
filter Deprecate old methods from DynamicCellSet 2022-01-05 08:18:17 -07:00
internal Handle Variant::Get for types not supported by the Variant 2021-10-04 10:19:25 -06:00
interop Fix cuda-opengl interop 2021-07-12 10:32:44 -04:00
io Deprecate old methods from DynamicCellSet 2022-01-05 08:18:17 -07:00
random
rendering Deprecate old methods from DynamicCellSet 2022-01-05 08:18:17 -07:00
source Fix type conversions in PerlinNoise source 2021-12-16 09:46:01 -07:00
testing Merge topic 'hip-support' 2021-10-05 10:42:55 -04:00
thirdparty cmake: allow VTK to skip soname links for libraries 2021-08-26 12:06:09 -04:00
worklet Deprecate old methods from DynamicCellSet 2022-01-05 08:18:17 -07:00
.gitattributes
Algorithms.h
Assert.h
Atomic.h CI: updates kokkos version 2021-09-20 18:23:16 -04:00
BinaryOperators.h
BinaryPredicates.h
Bitset.h
Bounds.h add amr capability as filter 2021-12-13 09:33:47 -07:00
CellClassification.h add amr capability as filter 2021-12-13 09:33:47 -07:00
CellShape.h
CellTraits.h
CMakeLists.txt testing/Testing.h when VTKm_ENABLE_TESTING_LIBRARY 2021-10-01 13:17:16 -04:00
Deprecated.h
ErrorCode.h
Flags.h
Geometry.h
Geometry.hxx
Hash.h
ImplicitFunction.h
List.h
ListTag.h
LowerBound.h
Math.h Remove recursion from FloatDistance 2021-08-02 09:50:41 -06:00
Math.h.in Remove recursion from FloatDistance 2021-08-02 09:50:41 -06:00
Matrix.h Break LUP factorization when invalid matrix found 2021-07-12 10:29:46 -06:00
NewtonsMethod.h
Pair.h
Particle.h Removing host/device being called from device warning 2021-09-01 17:54:41 -07:00
Range.h add amr capability as filter 2021-12-13 09:33:47 -07:00
RangeId2.h
RangeId3.h
RangeId.h
StaticAssert.h
Swap.h
TopologyElementTag.h
Transform3D.h
Tuple.h
Tuple.h.in
TypeList.h
TypeListTag.h
Types.h
TypeTraits.h
UnaryPredicates.h
UpperBound.h
VecAxisAlignedPointCoordinates.h
VecFlat.h
VecFromPortal.h
VecFromPortalPermute.h
VecFromVirtPortal.h
VectorAnalysis.h Avoid floating point exception in Orthonormalize 2021-07-12 10:29:46 -06:00
VecTraits.h Add ability to convert fields to known types 2021-08-19 07:10:20 -06:00
VecVariable.h
Version.h.in
VirtualObjectBase.h