mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
The precompiled `ArrayRangeCompute` function was not following proper fast paths for special arrays. For example, when computing the range of an `ArrayHandleUniformPointCoordinates`, the ranges should be taken from the origin and spacing of the special array. However, the precompiled version was calling the generic range computation, which was doing an unnecessary reduction over the entire array. These fast paths have been fixed. These mistakes in the code were caused by quirks in how templated method overloading works. To prevent this mistake from happening again in the precompiled `ArrayRangeCompute` function and elsewhere, all templated forms of `ArrayRangeCompute` have been deprecated. Most will call `ArrayRangeCompute` with no issues. For those that need the templated version, `ArrayRangeComputeTemplate` replaces the old templated `ArrayRangeCompute`. There is exactly one templated declaration of `ArrayRangeComputeTemplate` that uses a class, `ArrayRangeComputeImpl`, with partial specialization to ensure the correct form is used. |
||
---|---|---|
.. | ||
1.3 | ||
1.4 | ||
1.5 | ||
1.5.1 | ||
1.6 | ||
1.7 | ||
1.7.1 | ||
1.8 | ||
1.9 | ||
2.0 | ||
array-range-fast-paths.md | ||
composite-vector-filter.md | ||
interp-any-field.md | ||
output-vec-like-fix.md | ||
require-kokkos-3-7.md | ||
resize-extracted-component.md | ||
runtime-vec-array.md | ||
serialize-dataset.md | ||
statistics-filter.md | ||
unknownarray-runtime-components.md |