Commit Graph

11324 Commits

Author SHA1 Message Date
Kenneth Moreland
fa2eb79b07 Merge topic 'guide-worklet-types'
3b1bfa0cd Add reference documentation for Worklet types

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3184
2024-02-08 16:05:26 -05:00
Jefferson Amstutz
9d1c86c3c3 Merge topic 'anari_sdk_upgrade'
f4a781769 update baseline images
ea6136ede better strategy for collecting incoming ANARI-SDK namespaces
383ec8399 update image name
24da5da20 update minimum ANARI-SDK version required

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3180
2024-02-08 14:55:46 -05:00
Kenneth Moreland
efdf78953f Merge topic 'docs-warnings'
b4ba83689 Reduce doxygen warnings
9c42db5c7 Fix sphinx/breathe warning about function reference

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3192
2024-02-08 14:50:59 -05:00
Kenneth Moreland
eed88e35ad Merge topic 'ci-name-typo'
2983ce68a Fix typo in CI name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3193
2024-02-08 12:58:19 -05:00
Jefferson Amstutz
f4a7817695 update baseline images 2024-02-08 11:04:15 -06:00
Jefferson Amstutz
ea6136ede6 better strategy for collecting incoming ANARI-SDK namespaces 2024-02-08 11:04:15 -06:00
Vicente Adolfo Bolea Sanchez
383ec83991 update image name 2024-02-08 11:04:15 -06:00
Jefferson Amstutz
24da5da202 update minimum ANARI-SDK version required 2024-02-08 11:04:15 -06:00
Kenneth Moreland
b4ba836890 Reduce doxygen warnings 2024-02-08 10:57:11 -05:00
Kenneth Moreland
2983ce68aa Fix typo in CI name 2024-02-08 10:49:28 -05:00
Kenneth Moreland
9c42db5c71 Fix sphinx/breathe warning about function reference
The breathe parser was having trouble with using `{}` inside of a
declspec for the return value. Replace this with parenthesis, which
cannot be confused with the openning of the function.
2024-02-08 10:39:46 -05:00
Kenneth Moreland
7eadea766f Merge topic 'ci-docs-stage'
68dd196a9 Update docs CI to match job naming convention

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3190
2024-02-07 12:31:25 -05:00
Kenneth Moreland
68dd196a94 Update docs CI to match job naming convention
The naming convention for CI jobs is generally `stage:name` where the
`stage` matches the GitLab stage and the `name` is a description.
However, the documentation jobs broke this convention by being called
`docs:type` where `type` is `continuous`, `latest`, or `master`. This
breaks the convention because `docs` is not a stage and `type` does not
really describe the build. This fouls up things like
`reproduce_ci_env.py` that expect the first part of the name to be the
same as the stage.

This changes the names to `build:docs-continuous`, `build:docs-latest`,
and `build:docs-master`. This follows the convention of matching the
names with the stage.
2024-02-07 10:42:36 -05:00
Kenneth Moreland
fc92eafb76 Merge topic 'fill-stride-arrays'
723c9ed2f Support `Fill` for `ArrayHandleStride`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3186
2024-02-05 10:34:54 -05:00
Kenneth Moreland
723c9ed2f0 Support Fill for ArrayHandleStride
Previously, if you called `Fill` on an `ArrayHandleStride`, you would get
an exception that said the feature was not supported. It turns out that
filling values is very useful in situations where, for example, you need to
initialize an array when processing an unknown type (and thus dealing with
extracted components).

This implementation of `Fill` first attempts to call `Fill` on the
contained array. This only works if the stride is set to 1. If this does
not work, then the code leverages the precompiled `ArrayCopy`. It does this
by first creating a new `ArrayHandleStride` containing the fill value and a
modulo of 1 so that value is constantly repeated. It then reconstructs an
`ArrayHandleStride` for itself with a modified size and offset to match the
start and end indices.

Referencing the `ArrayCopy` was tricky because it kept creating circular
dependencies among `ArrayHandleStride`, `ArrayExtractComponent`, and
`UnknownArrayHandle`. These dependencies were broken by having
`ArrayHandleStride` directly use the internal `ArrayCopyUnknown` function
and to use a forward declaration of `UnknownArrayHandle` rather than
including its header.
2024-02-02 13:50:21 -05:00
Kenneth Moreland
3b1bfa0cdd Add reference documentation for Worklet types 2024-01-29 12:26:08 -05:00
Kenneth Moreland
4807417358 Merge topic 'deprecate-reduce-by-key-count'
d77c5812c Deprecate the GetCounts() method in Keys objects

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3183
2024-01-29 12:25:10 -05:00
Kenneth Moreland
d77c5812c3 Deprecate the GetCounts() method in Keys objects
The `vtkm::worklet::Keys` object held a `SortedValuesMap` array, an
`Offsets` array, a `Counts` array, and (optionally) a `UniqueKeys` array.
Of these, the `Counts` array is redundant because the counts are trivially
computed by subtracting adjacent entries in the offsets array. This pattern
shows up a lot in VTK-m, and most places we have moved to removing the
counts and just using the offsets.

This change removes the `Count` array from the `Keys` object. Where the
count is needed internally, adjacent offsets are subtracted. The deprecated
`GetCounts` method is implemented by copying values into a new array.
2024-01-25 16:13:54 -05:00
Kenneth Moreland
ce1435a879 Merge topic 'deprecate-boundary-condition'
8ac9f6a5c Deprecate boundary condition in neighborhood worklets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Li-Ta Lo <ollie@lanl.gov>
Merge-request: !3181
2024-01-19 11:55:04 -05:00
Kenneth Moreland
8ac9f6a5c0 Deprecate boundary condition in neighborhood worklets
This feature was introduced but is never used anywhere. It is up to the
worklet subclass to determine what to do with the boundaries with the
`BoundaryState` object.

In the future we may have a neighborhood worklet of compile-fixed sized
for better memory access efficiency. If that is the case, we can
reintroduce this idea. We can decide on the right implementation if that
design ever comes to pass.
2024-01-19 08:43:50 -05:00
Vicente Bolea
0b5960a994 Merge topic 'disable-ascent'
59ce85c5b ci,ascent: remove ascent build

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3178
2024-01-05 12:37:05 -05:00
Roxana Bujack
982c5bbb93 Merge topic 'partitionedRendering'
e243e51c1 revert superfluous corners distance
53ab4d41e next round of changes
d9875a41d fix typos
60fdcbaf7 add this->
4fabc168e add this->
7c61aaca0 add this->
cec1091b0 remove compiler warning
ac152d25d ensure presen ghost array if extractor is called from other than vtkm actor
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3149
2024-01-05 11:37:23 -05:00
Kenneth Moreland
386b008b6d Merge topic 'guide-logging'
b1b6cb65c Add documentation of logging

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3177
2024-01-05 09:49:45 -05:00
Vicente Adolfo Bolea Sanchez
59ce85c5b1 ci,ascent: remove ascent build 2024-01-05 08:32:58 +01:00
Roxana Bujack
e243e51c1b revert superfluous corners distance 2024-01-04 14:13:01 -07:00
Kenneth Moreland
b1b6cb65c0 Add documentation of logging 2024-01-04 15:25:07 -05:00
Roxana Bujack
53ab4d41e4 next round of changes 2024-01-03 16:23:16 -07:00
Kenneth Moreland
d9875a41dc fix typos 2024-01-03 17:43:46 -05:00
Kenneth Moreland
60fdcbaf70 add this-> 2024-01-03 17:43:26 -05:00
Kenneth Moreland
4fabc168ef add this-> 2024-01-03 17:42:59 -05:00
Kenneth Moreland
7c61aaca01 add this-> 2024-01-03 17:42:38 -05:00
Roxana Bujack
cec1091b0f remove compiler warning 2024-01-02 14:21:30 -07:00
Roxana Bujack
ac152d25d9 ensure presen ghost array if extractor is called from other than vtkm actor 2024-01-02 12:04:41 -07:00
Kenneth Moreland
1c1ad605d6 Merge branch 'release-2.1' 2024-01-02 11:28:56 -05:00
Kenneth Moreland
974e964920 Merge topic 'contour-int-isovalue'
8fc341e71 Allow floating-point isovalues for contours of integer fields

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3169
2024-01-02 11:28:56 -05:00
Kenneth Moreland
3c9249871a Merge topic 'contour-int-isovalue' into release-2.1
8fc341e71 Allow floating-point isovalues for contours of integer fields

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3169
2024-01-02 11:28:56 -05:00
Kenneth Moreland
12e7ed9032 Merge topic 'guide-advanced'
f1e3bed04 Add advanced types chapter to user's guide

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3172
2023-12-28 11:24:32 -05:00
Roxana Bujack
753df58857 use cellset and not field as basis for ghost array 2023-12-21 08:49:57 -07:00
Roxana Bujack
c78cb8069c allow wireframer to have ghost array 2023-12-20 14:32:55 -07:00
Roxana Bujack
b90c062e35 remove ghosted triangles in parallel 2023-12-20 12:55:19 -07:00
Roxana Bujack
6666fd4ca2 combine changes from this branch and master 2023-12-19 13:18:06 -05:00
Kenneth Moreland
35ddeba1ef Merge topic 'increase-test-timeout'
92f5aa1dd Increase test timeout for debug builds

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3173
2023-12-19 12:04:52 -05:00
Kenneth Moreland
92f5aa1ddc Increase test timeout for debug builds
Most of the CI builds are release, and the timeout set for them makes
sense. But for those debug builds, some of the longer-running tests
often exceed the provided timeout. To rightsize the timeouts, make them
longer for debug builds.
2023-12-19 09:06:08 -07:00
Kenneth Moreland
f1e3bed044 Add advanced types chapter to user's guide 2023-12-18 14:22:40 -07:00
Kenneth Moreland
361fe5fe32 Merge topic 'type-order' into release-2.1
23fbedf54 Order the VTK scalar types to favor used types
053237e90 Favor base types used by VTK-m when making new basic array

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Li-Ta Lo <ollie@lanl.gov>
Merge-request: !3171
2023-12-18 13:57:31 -05:00
Kenneth Moreland
94ca69f831 Merge branch 'release-2.1' 2023-12-18 13:57:31 -05:00
Kenneth Moreland
05f9da459c Merge topic 'type-order'
23fbedf54 Order the VTK scalar types to favor used types
053237e90 Favor base types used by VTK-m when making new basic array

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Li-Ta Lo <ollie@lanl.gov>
Merge-request: !3171
2023-12-18 13:57:31 -05:00
Kenneth Moreland
23fbedf54d Order the VTK scalar types to favor used types
Reorder the `VTKScalarTypes` to put the repeated types at the bottom.
This will avoid using types like `long` that are essentially the same as
other types (e.g. `long long`) but will still be considered different.
This causes problems when checking against some VTK types (such as
`vtkIdType`).
2023-12-17 22:56:09 -07:00
Kenneth Moreland
053237e900 Favor base types used by VTK-m when making new basic array
When calling `NewInstanceBasic` on an `UnknownArrayHandle`, all C base
types will be tried. In some cases, multiple type will match the same
array. When this happens, favor types used by VTK-m (e.g. `long long`
over `long`).
2023-12-17 22:49:54 -07:00
Vicente Bolea
806eb54e90 Merge topic 'fix-rocthrust-flag'
6664fd1e5 cmake: VTKm_ENABLE_KOKKOS_THRUST disabled by default

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3168
2023-12-15 19:11:19 -05:00