Commit Graph

23 Commits

Author SHA1 Message Date
Kenneth Moreland
dafa01e9e9 Add benchmark arguments without leaking memory
The previous version of BenchmarkInSitu added arguments to its argv list
by using `strdup`. However, this method will leak memory, which is not
great. Replace this with a safer mechanism that will properly delete
memory at the end of the program (and satisfy any memory analyzers).

This also fixes a warning from MS about `strdup` being deprecated.
2022-10-26 15:16:15 -06:00
Mark Bolstad
613b4d44b7 Switch how InSitu benchmark iterates
Previous version had a hard-coded loop for updating the dataset. This change relenquishes control over to google benchmarks. Running it from the command-line will iterate each sub-benchmark a different number of iterations depending on how long each individual test takes. The number of iterations can be increased (but not controlled) by increasing the minimum time for each test. Alternatively, using the "repetitions" argument, you can control exactly how many times the benchamrks are run.

See the README for InSitu that throughly documents the arguments.
2022-09-12 09:24:47 -06:00
Dave Pugmire
e1fbfea305 Remove device compiler dependencies. 2022-08-01 08:00:46 -04:00
Dave Pugmire
6a200c62d9 Cuda fixes: device in headers.. 2022-07-29 13:39:38 -04:00
Dave Pugmire
767b6c0048 CUDA fixes move device copy into .cxx file. 2022-07-28 13:28:09 -04:00
Dave Pugmire
cdcc083d4c Fix benchmarks, windows builds? 2022-07-25 10:16:05 -04:00
Kenneth Moreland
08e6826017 Remove deprecated use of old unscoped enums in FieldSelection 2022-03-18 13:16:55 -06:00
Kenneth Moreland
f8f41e0ef5 Update use of field association enumerations
The enumerations in `vtkm::cont::Field::Association` were renamed in the
previous commit. The old names still exist, but are deprecated. Change
the rest of the code to use the new names.
2022-03-17 11:02:37 -06:00
Li-Ta Lo
f09032aaaf migrate geometry refinement filters 2022-02-11 20:52:43 -07:00
Li-Ta Lo
cdc4c29c5f renamve vector_calculus -> vector_analysis 2022-01-31 08:58:38 -07:00
Li-Ta Lo
59cc8cbaeb Migrate Gradient filter 2022-01-30 12:18:22 -07:00
Li-Ta Lo
1c9fe90806 update benchmark 2022-01-11 08:30:42 -07:00
Li-Ta Lo
3c700259a1 migrate Contour, ClipWithField and Slice 2022-01-10 20:39:43 -07:00
Manish Mathai
2ab1594ad1 Fix typo 2021-12-06 15:01:19 -08:00
Manish Mathai
5482bc5518 Fix formatting 2021-12-06 13:09:03 -08:00
Manish Mathai
a571f50dfc Cleanup unused code 2021-12-06 13:09:03 -08:00
Manish Mathai
48a820df07 Align mesh and volume rendering benchmarks timings 2021-12-06 13:09:03 -08:00
Manish Mathai
a2c3c80ce0 Make perlin generation as a vtkm::source::Source source
Making it a `vtkm::source::Source` makes it easier to use in other
benchmarks or tests.
2021-12-06 13:09:03 -08:00
Manish Mathai
2130ed5915 Refactor some static globals 2021-12-06 13:09:03 -08:00
Manish Mathai
1ceb137751 Add commandline arg for rendered image size
The image size defaults to `1024` if not specified.
2021-12-06 13:09:03 -08:00
Manish Mathai
2c5180fee9 Write benchmark rendered images to disk 2021-12-06 13:09:03 -08:00
Manish Mathai
d9487e01d4 Add copyright notice 2021-12-06 13:09:03 -08:00
Manish Mathai
035a7b39bc Add initial framework for in-situ benchmarks
This adapts existing benchmarks and creates new ones that simulate
in-situ simulations.
2021-12-06 13:09:03 -08:00