Commit Graph

8189 Commits

Author SHA1 Message Date
Kenneth Moreland
c7f18cf5b9 Merge topic 'cell-neighborhood-deprecation-warning' into release-2.2
33373f4b2 Fix deprecation warning in WorkletCellNeighborhood

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Li-Ta Lo <ollie@lanl.gov>
Merge-request: !3266
2024-10-03 16:06:59 -04:00
Kenneth Moreland
33373f4b29 Fix deprecation warning in WorkletCellNeighborhood
There was a use of a deprecated method buried in a support class of
`WorkletCellNeighborhood`. This fixes that deprecation and also adds a
missing test for `WorkletCellNeighborhood` to prevent such things in the
future.
2024-09-24 13:01:48 -04:00
Kenneth Moreland
ab7c9be6f8 Document creating execution objects 2024-08-26 14:54:56 -04:00
Kenneth Moreland
a0d30881d0 Merge topic 'thrust-is_arithmetic-error' into release-2.2
744a60ee5 Fix compile error using unsupported thrust::detail::is_arithmetic

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3259
2024-08-13 15:56:14 -04:00
Kenneth Moreland
efd64aeeef Merge topic 'thrust-is_arithmetic-error' into release-2.0
744a60ee5 Fix compile error using unsupported thrust::detail::is_arithmetic

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3259
2024-08-13 15:56:13 -04:00
Kenneth Moreland
744a60ee56 Fix compile error using unsupported thrust::detail::is_arithmetic
I believe the most recent version of Thrust are no longer defining this
class. Instead, it is using cuda::std::is_arithmetic.
2024-08-12 14:39:02 -04:00
Kenneth Moreland
b9b4e307ea Add user guide chapter on global array / cell access 2024-07-15 16:04:16 -04:00
Kenneth Moreland
a27c6ff30f Merge topic 'guide-accessing-arrays' into release-2.2
d67d27e0f Add guide information for accessing/allocating data in arrays

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3245
2024-07-12 10:56:06 -04:00
Kenneth Moreland
d67d27e0fc Add guide information for accessing/allocating data in arrays
In the previous guide, this was (mostly) in its own chapter. This may
have been an excessive amount of splitting things up.

There is still a missing section on the interface to the execution
environment (i.e. PrepareFor*). I plan to put that in the execution
objects chapter as this is the most likely place for a user to use them.
2024-07-12 07:41:42 -04:00
Cyrus Harrison
7d0c1e66c1 fix bug with ray subsetting using wrong near and far planes 2024-07-09 11:25:46 -07:00
Kenneth Moreland
012853a73b Un-deprecate extract boundary in ExtractStructured filter
This method was deprecated because it was not well explained in the
documentation nor was it used in VTK-m or Ascent. However, it is used in
VTK, and VTK has a bit more documentation on what this feature is
supposed to do. Thus this feature has been un-deprecated so that it will
continue to stick around. Also, additional documentation is provided to
describe the feature, and the testing has been expanded a bit.
2024-07-08 17:51:13 -04:00
Kenneth Moreland
41a088f6ce Add guide chapter on unknown array handle 2024-06-28 13:42:23 -04:00
Kenneth Moreland
c6ad00aefd Merge topic 'guide-fancy-arrays'
3e6963092 Add guide chapter on fancy array handles

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3231
2024-06-21 14:45:38 -04:00
Kenneth Moreland
3e69630925 Add guide chapter on fancy array handles 2024-06-05 17:51:14 -04:00
Kenneth Moreland
3933adc450 Merge topic 'obsolete-thrust-patch'
4a4466e7c Disable Thrust patch that is no longer needed in modern Thrust

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3230
2024-06-04 16:46:23 -04:00
Kenneth Moreland
4a4466e7c8 Disable Thrust patch that is no longer needed in modern Thrust
There is a Thrust patch that works around an issue in Thrust 1.9.4
(https://github.com/NVIDIA/thrust/issues/972). The underlying issue
should be fixed in recent versions. In recent versions of CUDA, the patch
breaks (https://gitlab.kitware.com/vtk/vtk-m/-/issues/818).

This change fixes the problem by disabling the patch where it is not
needed.
2024-06-04 11:01:43 -04:00
Mingzhe Li
a77e5b3c63 Compute volume and select top volume branches 2024-05-17 14:16:50 -07:00
Gunther Weber
3406ba3113 Merge topic 'fix-mc-connectivity'
27002d020 Fix distributed contour tree for marching cubes without using full boundary

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3218
2024-05-17 13:58:45 -04:00
Kenneth Moreland
f2b73fe2e4 Merge topic 'safe-cuda-runtime-config'
f42f59d68 Fix crash when CUDA device is disabled

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Gunther Weber <ghweber@lbl.gov>
Merge-request: !3216
2024-05-17 08:20:39 -04:00
Kenneth Moreland
a87adb479f Merge topic 'safe-cuda-runtime-config' into release-2.1
f42f59d68 Fix crash when CUDA device is disabled

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Gunther Weber <ghweber@lbl.gov>
Merge-request: !3216
2024-05-17 08:20:38 -04:00
Gunther H. Weber
27002d0209 Fix distributed contour tree for marching cubes without using full boundary 2024-05-16 11:51:38 -07:00
Kenneth Moreland
98168fc2ff Merge topic 'guide-memory-layout'
8e570c8b6 Add user guide chapter on memory layout in ArrayHandles

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3219
2024-05-15 16:06:15 -04:00
Kenneth Moreland
c9417825e5 Merge topic 'fix-old-cuda-atomics'
78e06d5dc Fix old cuda atomics

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3209
2024-05-15 15:42:51 -04:00
Kenneth Moreland
af3ab951c4 Merge topic 'fix-old-cuda-atomics' into release-2.1
78e06d5dc Fix old cuda atomics

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3209
2024-05-15 15:42:51 -04:00
Kenneth Moreland
8e570c8b64 Add user guide chapter on memory layout in ArrayHandles 2024-05-13 08:12:22 -06:00
Jefferson Amstutz
232d9dde9c fix ANARIMapperVolume usage edge cases (empty actor is valid) 2024-05-13 08:40:49 -05:00
Jefferson Amstutz
ea30203836 minor cleanups 2024-05-13 08:40:49 -05:00
Qi Wu
86e6e6e65b support unstructured cell (point-centered only) 2024-05-13 08:40:49 -05:00
Gunther H. Weber
124c58eb48 Minor fixes for distributed contour tree example 2024-05-10 15:09:03 -07:00
Kenneth Moreland
f42f59d685 Fix crash when CUDA device is disabled
There was an issue where if VTK-m was compiled with CUDA support but then
run on a computer where no CUDA device was available, an inappropriate
exception was thrown (instead of just disabling the device). The
initialization code should now properly check for the existance of a CUDA
device.
2024-05-03 17:03:20 -04:00
Kenneth Moreland
72c17927d3 Merge topic 'extract-geometry-permutation'
49518e505 Fix bug with ExtractGeometry filter

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3215
2024-05-03 13:06:32 -04:00
Kenneth Moreland
49518e5054 Fix bug with ExtractGeometry filter
The `ExtractGeometry` filter was outputing datasets containing
`CellSetPermutation` as the representation for the cells. Although this is
technically correct and a very fast implementation, it is essentially
useless. The problem is that any downstream processing will have to know
that the data has a `CellSetPermutation`. None do (because the permutation
can be on any other cell set type, which creates an explosion of possible
cell types).

Like was done with `Threshold` a while ago, this problem is fixed by deep
copying the result into a `CellSetExplicit`. This behavior is consistent
with VTK.
2024-05-03 09:22:56 -04:00
Kenneth Moreland
78e06d5dcd Fix old cuda atomics
There are some overloads for atomic adds of floating point numbers for
older versions of cuda that do not include them directly. These were
misnamed and thus not properly overloading the generic implementation.
This caused compile errors with older versions of cuda.
2024-04-02 13:45:15 -04:00
Dave Pugmire
b6c69774fc Add comment addressing the missing else 2024-04-01 14:54:57 -04:00
Dave Pugmire
7fb1821b7c Fix issue (findBinIdx won't fail if point outside dataset). 2024-03-28 15:31:34 -04:00
Dave Pugmire
6996466752 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into uniformbin_locator_bincheck 2024-03-28 12:45:20 -04:00
Spiros Tsalikis
fc3845ec89 AtomicArrayExecutionObject: Allow order of atomic operations 2024-03-22 15:02:55 -04:00
Kenneth Moreland
427c8135c0 Merge topic 'guide-cells'
282aa8295 Add guide chapter on working with cells

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3206
2024-03-14 13:11:46 -04:00
Jefferson Amstutz
b7ef246789 fix assumption that ANARIMapperVolume only consumed point data 2024-03-13 13:41:05 -05:00
Kenneth Moreland
282aa82957 Add guide chapter on working with cells 2024-03-13 09:18:33 -04:00
Kenneth Moreland
28683930e3 Updated constructors for mesh info classes to conform with other filters
The `CellMeasures` and `MeshQuality` filters had constructors that took the
metric that the filter should generate. However, this is different than the
iterface of the rest of the filters. To make the interface more consistent,
these filters now have a default (no argument) constructor, and the metric
to compute is selected via a method. This makes it more clear what is being
done.

In addition, the documentation for these two classes is updated.
2024-03-07 20:47:09 -05:00
Jefferson Amstutz
14deacbdd8 add attribute names via USD extension 2024-03-04 14:33:41 -06:00
Jefferson Amstutz
c90fb4bc22 Merge topic 'anari_volume_parameter_fix'
149e7f9e1 set spatial field parameter on volumes with the correct name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3204
2024-03-04 11:43:58 -05:00
Kenneth Moreland
e326515452 Merge topic 'guide-filters'
2fe05097e Add continued filter implementation chapter

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3200
2024-02-29 06:55:56 -05:00
Kenneth Moreland
2fe05097eb Add continued filter implementation chapter 2024-02-28 12:51:07 -05:00
Jefferson Amstutz
149e7f9e1b set spatial field parameter on volumes with the correct name 2024-02-28 10:31:31 -06:00
Zhe Wang
65a3118d0a Merge topic 'long_cuda_compiling_issue'
59c545c15 add test and fix cuda long compiling issue

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Abhishek Yenpure <abhi.yenpure@kitware.com>
Merge-request: !3188
2024-02-23 11:35:27 -05:00
Kenneth Moreland
108176774f Fix doxygen warnings for math functions
Doxygen was having trouble with `@copydoc` when copying documentation of
templated functions. The doxygen comments in `Math.h` is restructured to
not need `@copydoc`, and the documentation is generated correctly.
2024-02-21 16:31:36 -05:00
Kenneth Moreland
e9ba5bf8c7 Add math section to users guide 2024-02-20 11:03:04 +09:00
Kenneth Moreland
af28ec2766 Merge topic 'hints'
c44f68649 Add hints to device adapter scheduler

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Dave Pugmire <dpugmire@gmail.com>
Merge-request: !3189
2024-02-17 07:47:19 -05:00