Commit Graph

602 Commits

Author SHA1 Message Date
Kenneth Moreland
bf0390b8e1 Merge topic 'intel-finites'
b93ee30ab Enable non-finite values with Intel compiler

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Sujin Philip <sujin.philip@kitware.com>
Merge-request: !3213
2024-05-07 13:08:00 -04:00
Kenneth Moreland
b93ee30ab5 Enable non-finite values with Intel compiler
The Intel compiler by default turns on an optimization that assumes that
all floating point values are finite. This breaks any ligitimate uses of
non-finite values including checking values with functions like `isnan`
and `isinf`. Turn off this feature for the intel compiler.
2024-04-25 09:38:15 -04:00
Yohann Vautrin
e40cdbc0f9 Ensure OpenMP is imported 2024-04-23 18:03:24 -04:00
Yohann Vautrin
88b9a2f42f Update OpenMP code for consistency
Calls to `set_property` are replaced by equivalents calls for
readability. Order of operations is changed for consistency with the
code for TBB.
2024-04-23 16:01:50 -04:00
Yohann Vautrin
ba75296f65 Use target OpenMP::OpenMP_CXX for exported targets
Using `${OpenMP_CXX_LIBRARIES}` results in paths to certain libraries
being hard-coded in VTKmTargets.cmake, which can lead to issues in some
cases (e.g.: when VTK is built by the CI system for MSYS2).
2024-04-23 16:01:10 -04:00
Vicente Adolfo Bolea Sanchez
d5a90cba1e update readthedocs-sphinx-search 2024-02-14 12:03:42 -05:00
Kenneth Moreland
3b1bfa0cdd Add reference documentation for Worklet types 2024-01-29 12:26:08 -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
Vicente Adolfo Bolea Sanchez
6664fd1e5a cmake: VTKm_ENABLE_KOKKOS_THRUST disabled by default 2023-12-15 13:07:20 -05:00
Vicente Bolea
763293a97e Merge topic 'fix-rocthrust-dep' into release-2.1
c9ec6ae6a kokkos: let link vtkm_cont to roc::rocthrust

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3160
2023-11-30 22:08:36 -05:00
Vicente Bolea
4e0eb57527 Merge topic 'fix-rocthrust-dep'
c9ec6ae6a kokkos: let link vtkm_cont to roc::rocthrust

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3160
2023-11-30 22:08:36 -05:00
Vicente Adolfo Bolea Sanchez
c9ec6ae6a6 kokkos: let link vtkm_cont to roc::rocthrust
Also reorder the declarion of the option VTKm_ENABLE_KOKKOS_THRUST
to be set before calling VTKmDeviceAdapters.
2023-11-30 18:18:03 -05:00
Kenneth Moreland
5b8c282e9f Continue transfer of Users' Guide text
These changes complete the using part of the guide.
2023-11-21 10:33:45 -07:00
Kenneth Moreland
3d3b66865f Add option to turn off Doxygen html
The Doxygen html generation takes a lot more time than the xml
generation. If all you want from Doxygen is the xml for the user's
guide, that can be frustrating. Add an option to turn off the xml.
2023-11-21 07:50:04 -07:00
Dan Lipsa
97dfaf183a Merge topic 'external_vtk'
2fb446a4b Add INSTALL_RPATH to solve reference to library not found

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !3144
2023-10-30 10:03:56 -04:00
Dan Lipsa
2fb446a4b9 Add INSTALL_RPATH to solve reference to library not found 2023-10-23 19:14:50 -04:00
Vicente Adolfo Bolea Sanchez
6cb991e8e2 docs: add docs/requirements.txt 2023-10-20 16:02:01 -04:00
Kenneth Moreland
b80b7e2e71 Add VTK-m User's Guide to source
This is a start of moving the VTK-m User's Guide into the VTK-m source.
This is only the start of the process. There are several goals of this
work.

1. Integrate the documentation into the source code better to better
   keep the code up to date.
2. Move the documentation over to Sphinx so that it can be posted online
   and be more easily linked.
3. Incoporate Doxygen into the guide to keep the documentation
   consistent.
4. Build the user guide examples as part of the VTK-m CI to catch
   compatibility changes quickly.
2023-10-17 11:31:27 -04:00
Vicente Adolfo Bolea Sanchez
2d47ba22b7 cmake: Add makefile against install test
(cherry picked from commit 5612d26892f172d7e0285fb46f2bd4da2ae76dda)
2023-09-11 19:55:11 -04:00
Vicente Adolfo Bolea Sanchez
5612d26892 cmake: Add makefile against install test 2023-09-11 14:27:36 -04:00
Jefferson Amstutz
db4c5c3b98 initial implementation of ANARI rendering support 2023-08-30 15:52:48 -05:00
Kenneth Moreland
898115a410 Add copyright notice to scipts and configuration files
There are numerous scripts and configuration files defined in the CI setup
and elsewhere that were missing the copyright statement. Add more types
of files to check in the CopyrightStatement test, and update the files
with the appropriate statement.
2023-07-25 11:05:40 -06:00
Kenneth Moreland
46a613d183 Speed up compilation of ArrayRangeCompute.cxx
The file `ArrayRangeCompute.cxx` was taking a long time to compile with
some device compilers. This is because it precompiles the range computation
for many types of array structures. It thus compiled the same operation
many times over.

The new implementation compiles just as many cases. However, the
compilation is split into many different translation units using the
instantiations feature of VTK-m's configuration. Although this rarely
reduces the overall CPU time spent during compiling, it prevents parallel
compiles from waiting for this one build to complete. It also avoids
potential issues with compilers running out of resources as it tries to
build a monolithic file.
2023-06-19 08:37:15 -06:00
Kenneth Moreland
2631e5561f Split up the particle advection/streamline test
The test for particle advection filters was one large test that tested 3
versions --- advection, streamlines, and pathlines --- with each tested
for a variety of conditions including asynchronous communication, number
of blocks, ghost cells, etc. This was causing the test to take a while
and sometimes time out. (It would also sometimes seg fault, which I hope
is related.) To attempt to fix this problem, break up this test into
pieces so that each piece takes a shorter amount of time.

Because these tests share most of their implementation (which is why
they were grouped together in the first place) the common code is placed
in a source file of shared implementation. To support this I also added a
way to mark a source file to `vtkm_unit_tests` as a source file that does
not contain its own test. Normally you would just compile all of the
tests together, select each with command line arguments, and use
duplicate `add_tests` for each argument. But that is not how
`vtkm_unit_tests` works, and it would be too hard to make that change.
2023-05-24 15:05:09 -06:00
Vicente Adolfo Bolea Sanchez
ab2792b78a perftest: no mark disabled upload steps in MR
- Removed the PerformanceTestCleanUp, not needed since we only do a
  git fetch once.
2023-05-16 16:44:53 -04:00
Thomas Gibson
fda475d5bf Rework Thrust CMake options 2023-02-20 08:26:28 -06:00
Sean Miller
e6f63a807d Adding CMake tweaks to turn off thrust algorithms if thrust is not detected. 2023-02-20 08:26:24 -06:00
Kenneth Moreland
fa30d6774c Update the minimum Kokkos required to 3.7
This was suggested by a developer on the Kokkos team.
2023-01-30 09:53:56 -07:00
Vicente Adolfo Bolea Sanchez
9b268bce63 perftest: reorder fixtures; fetch vtk/vtk-m objects 2023-01-25 18:43:52 +09:00
Mark Bolstad
5197ad3d20 Merge topic 'override_ctest_timeout'
841da4169 Follow better CMake/VTK-m practices
c5ce6cb96 Replace if/then with string parameter
95c641559 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
2023-01-17 12:02:54 -05:00
Vicente Bolea
3a620941dd Merge topic 'fix-vtkm-devices-namespaces'
d5ce96789 CMAKE: fix vtkm devices namespaces

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Sujin Philip <sujin.philip@kitware.com>
Merge-request: !2953
2023-01-13 09:51:00 -05:00
Mark Bolstad
841da4169e Follow better CMake/VTK-m practices 2023-01-09 15:05:19 -07:00
Mark Bolstad
c5ce6cb96b Replace if/then with string parameter 2023-01-09 10:12:27 -07:00
Mark Bolstad
95c641559d Add cmake flag to override default ctest timeouts
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.
2023-01-09 08:42:23 -07:00
Abhishek Yenpure
51ca95bf6e Add VTKm_USE_DEFAULT_TYPES_FOR_ASCENT to VTKmConfig.cmake 2023-01-04 11:20:39 -08:00
Vicente Adolfo Bolea Sanchez
d5ce967890 CMAKE: fix vtkm devices namespaces 2022-12-26 13:40:12 -05:00
Vicente Adolfo Bolea Sanchez
f3398ae17b diy: correct manglign vtkm_diy 2022-12-16 17:10:36 -05:00
Vicente Adolfo Bolea Sanchez
d623fdd94c PerfTest: Fixes report.json name 2022-12-14 17:01:20 -05:00
Vicente Adolfo Bolea Sanchez
049d0cca8c cmake: namespace vtkm export targets 2022-12-09 18:46:56 -05:00
Kenneth Moreland
1f34e0eaa6 Add performance configuration options
Added a name option that allows the same benchmark executable to be used
in multiple benchmark tests. This allows the benchmarks to be separated.
Also added an option to pass customized arguments to the benchmark
executable to overwrite the default values.
2022-12-05 13:20:18 -07:00
Kenneth Moreland
f4b972afaa Merge topic 'no-deprecated-virtual'
ea560e948 Remove deprecated virtual methods

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2903
2022-10-31 14:38:32 -04:00
Kenneth Moreland
89aaecff32 Merge topic 'rebuild-modules'
add7c68d5 Add make dependencies to rebuild CMake when vtkm.module files change

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !2902
2022-10-31 11:56:45 -04:00
Kenneth Moreland
076e0a75b0 Merge topic 'fix-filter-tests'
96b447e69 Fix some deprecated hacks in modules

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !2904
2022-10-31 09:58:13 -04:00
Kenneth Moreland
972a96b6c6 Merge topic 'external-lib-lists'
73cb38d86 Output complete list of libraries for external Makefiles
d87316fbf Create a list of all modules being built

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Nicole Marsaglia <marsaglia1@llnl.gov>
Merge-request: !2901
2022-10-28 14:20:58 -04:00
Kenneth Moreland
ea560e9486 Remove deprecated virtual methods
Several revisions ago, the ability to use virtual methods in the
execution environment was deprecated. Completely remove this
functionality for the VTK-m 2.0 release.
2022-10-28 10:56:52 -06:00
Vicente Bolea
d694675027 Merge topic 'update-cmake'
55e8d258a CMAKE: update latest CI CMake to 3.23.4

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2892
2022-10-27 13:01:18 -04:00
Kenneth Moreland
add7c68d51 Add make dependencies to rebuild CMake when vtkm.module files change
Also improved a diagnostic when bad identifiers are used in vtkm.module
files.
2022-10-27 10:47:39 -06:00
Kenneth Moreland
96b447e69a Fix some deprecated hacks in modules
When the configure modules were first created, there were some hacks
around filters that had not yet moved to the new filter mechanism. These
can (and should) be removed.
2022-10-27 10:24:28 -06:00
Kenneth Moreland
d87316fbf1 Create a list of all modules being built 2022-10-26 15:56:28 -06:00
Vicente Adolfo Bolea Sanchez
55e8d258ad CMAKE: update latest CI CMake to 3.23.4 2022-10-26 17:18:15 -04:00