- 30 Jan, 2023 1 commit
-
-
4e9c63b6 Enable floating point exceptions on apple Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2970
-
- 27 Jan, 2023 1 commit
-
-
Kenneth Moreland authored
Clang for apple does not support `fpenableexcept`, so make a special way to turn them on to help developers debug code. This code is based on the suggestions at: https://stackoverflow.com/questions/37819235/how-do-you- enable-floating-point-exceptions-for-clang-in-os-x https://stackoverflow.com/questions/71821666/trapping-floating-point-exceptions-and-signal-handling-on-apple-silicon This code is actually disabled because it does not work on all known platforms (most notably one of the dashboard machines). However, I would like to keep the code there to assist debugging.
-
- 26 Jan, 2023 2 commits
-
-
90e1e82b add composite filter Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2962
-
9b268bce perftest: reorder fixtures; fetch vtk/vtk-m objects Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kenneth Moreland <morelandkd@ornl.gov> Merge-request: !2968
-
- 25 Jan, 2023 3 commits
-
-
Zhe Wang authored
-
1889447d Update clip filter's field map to work on any field type Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Sujin Philip <sujin.philip@kitware.com> Merge-request: !2969
-
Vicente Bolea authored
-
- 24 Jan, 2023 2 commits
-
-
Kenneth Moreland authored
The previous implementation of the map field in the clip filters (`ClipWithField` and `ClipWithImplicitFunction`) checked for common field types and interpolated those. If the field value type did not match, it would either convert the field to floats (which is at odds with what VTK does) or fail outright if the `Vec` length is not supported. The map field function for clip has been changed to support all possible types. It does this by using the extract component functionality to get data from any type of array.
-
eda6dc39 Support using arrays with dynamic Vec-likes as output arrays Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Li-Ta Lo <ollie@lanl.gov> Merge-request: !2963
-
- 23 Jan, 2023 2 commits
-
-
Kenneth Moreland authored
When you use an `ArrayHandle` as an output array in a worklet (for example, as a `FieldOut`), the fetch operation does not read values from the array during the `Load`. Instead, it just constructs a new object. This makes sense as an output array is expected to have garbage in it anyway. This is a problem for some special arrays that contain `Vec`-like objects that are sized dynamically. For example, if you use an `ArrayHandleGroupVecVariable`, each entry is a dynamically sized `Vec`. The array is referenced by creating a special version of `Vec` that holds a reference to the array portal and an index. Components are retrieved and set by accessing the memory in the array portal. This allows us to have a dynamically sized `Vec` in the execution environment without having to allocate within the worklet. The problem comes when we want to use one of these arrays with `Vec`-like objects for an output. The typical fetch fails because you cannot construct one of these `Vec`-like objects without an array portal to bind it to. In these cases, we need the fetch to create the `Vec`-like object by reading it from the array. Even though the data will be garbage, you get the necessary buffer into the array (and nothing more). Previously, the problem was fixed by creating partial specializations of the `Fetch` for these `ArrayHandle`s. This worked OK as long as you were using the array directly. However, the approach failed if the `ArrayHandle` was wrapped in another `ArrayHandle` (for example, if an `ArrayHandleView` was applied to an `ArrayHandleGroupVecVariable`). To get around this problem and simplify things, the basic `Fetch` for direct output arrays is changed to handle all cases where the values in the `ArrayHandle` cannot be directly constructed. A compile-time check of the array's value type is checked with `std::is_default_constructible`. If it can be constructed, then the array is not accessed. If it cannot be constructed, then it grabs a value out of the array.
-
23469cab Add ability to resize ArrayHandleRecombineVec 2061e95e Add ability to resize ArrayHandleStride Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Li-Ta Lo <ollie@lanl.gov> Merge-request: !2964
-
- 20 Jan, 2023 3 commits
-
-
-
a6f2a93c testing: remove vtkm/cont/testing relative path Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kenneth Moreland <morelandkd@ornl.gov> Merge-request: !2965
-
a6f2a93c testing: remove vtkm/cont/testing relative path Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kenneth Moreland <morelandkd@ornl.gov> Merge-request: !2965
-
- 19 Jan, 2023 2 commits
-
-
5d048134 Fix compile issues when using cuda 12 Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2960
-
Vicente Bolea authored
-
- 18 Jan, 2023 3 commits
-
-
Kenneth Moreland authored
This feature enables the ability to anonomously create an array (such as with `UnknownArrayHandle::NewInstance()`) and then use that as an output array.
-
Kenneth Moreland authored
This feature enables the ability to anonomously create an array (such as with `UnknownArrayHandle::NewInstance()`) and then use that as an output array. Although resizing `ArrayHandleStride` is a little wonky, it allows worklets to resize them after creation rather than having to know what size to make and allocating the array.
-
Sujin Philip authored
CUDA 12 adds a `cub::Swap` function that creates ambiguity with `vtkm::Swap`. This happens when a function from the `cub` namespace is called with an object of a class defined in the `vtkm` namespace as an argument. If that function has an unqualified call to `Swap`, it results in ADL being used, causing the templated functions `cub::Swap` and `vtkm::Swap` to conflict.
-
- 17 Jan, 2023 2 commits
-
-
44c27617 Remove bad import and fix warning in ContourTreeAppDataIO.h 113e6be3 Remove bad import in ContourTreeApp distributed 27d3d403 Remove bade import in streamline_mpi example 0e5aeb10 Update contour_tree_distributed/CMakeLists.txt 56577285 Merge branch 'master' into add_hdf5_reader fbc31318 Fix error in ContourTreeAppDataIO 63ec3f3b Updated contour tree distributed IO to use CellSetStructured b0952365 Merge remote-tracking branch 'origin/master' into add_hdf5_reader ... Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2802
-
841da416 Follow better CMake/VTK-m practices c5ce6cb9 Replace if/then with string parameter 95c64155 Add cmake flag to override default ctest timeouts Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Vicente Bolea <vicente.bolea@kitware.com> Merge-request: !2958
-
- 16 Jan, 2023 5 commits
-
-
Oliver Ruebel authored
-
Oliver Ruebel authored
-
Oliver Ruebel authored
-
Oliver Ruebel authored
-
Oliver Ruebel authored
-
- 13 Jan, 2023 9 commits
-
-
c0e0032e Clarify field index ordering in Doxygen Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2959
-
-
c0e0032e Clarify field index ordering in Doxygen Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2959
-
f275972e Resolve sprintf warning Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Vicente Bolea <vicente.bolea@kitware.com> Merge-request: !2961
-
-
f275972e Resolve sprintf warning Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Vicente Bolea <vicente.bolea@kitware.com> Merge-request: !2961
-
d5ce9678 CMAKE: fix vtkm devices namespaces Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Sujin Philip <sujin.philip@kitware.com> Merge-request: !2953
-
-
d5ce9678 CMAKE: fix vtkm devices namespaces Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Sujin Philip <sujin.philip@kitware.com> Merge-request: !2953
-
- 10 Jan, 2023 2 commits
-
-
Kenneth Moreland authored
The fields in a `DataSet` are indexed from `0` to `GetNumberOfFields() - 1`. It is natural to assume that the fields will be indexed in the order that they are added, but they are not. Rather, the indexing is arbitrary and can change any time a field is added to the dataset. To make this more clear, Doxygen documentation is added to the `DataSet` methods to inform users to not make any assumptions about the order of field indexing.
-
Kenneth Moreland authored
The latest verson of Xcode clang warns about using sprintf because of its inherent vulnerability. Change it to snprintf.
-
- 09 Jan, 2023 3 commits
-
-
Mark Bolstad authored
-
Mark Bolstad authored
-
Mark Bolstad authored
The current ctest timeout in VTK-m are fine for the CI, but are too long for develoment when a test is hanging on a queued node. This commit allows a developer to turn off the majority of the hard coded timeout values which allows them to set them at the ctest command-line.
-