Commit Graph

5494 Commits

Author SHA1 Message Date
mclarsen
20c5c97cd2 adding missing files 2018-09-10 20:00:04 -07:00
mclarsen
6362978ab2 adding more ray tracing files 2018-09-10 19:56:57 -07:00
mclarsen
1c2f78ca92 refactoring ray tracing 2018-09-10 19:25:42 -07:00
Matthew Letter
8da99dedf1 Merge topic 'hotfix-execution-whole-array'
c45716cb3 Removed ExecutionObjectBase from ExecutionWholeArray

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !1405
2018-09-10 15:56:22 -04:00
Matthew Letter
c45716cb3b Removed ExecutionObjectBase from ExecutionWholeArray
ExecutionObjectBase no longer needs to be used for ExecutionWholeArray

also fixed `#endif` naming for our conventions
2018-09-10 11:28:46 -06:00
Kenneth Moreland
2b05487398 Add ExecutionAndControlObjectBase
This is a subclass of ExecutionObject and a superset of its
functionality. In addition to having a PrepareForExecution method, it
also has a PrepareForControl method that gets an object appropriate for
the control environment. This is helpful for situations where you need
code to work in both environments, such as the functor in an
ArrayHandleTransform.

Also added several runtime checks for execution objects and execution
and cotnrol objects.
2018-09-08 11:54:28 -06:00
Dave Pugmire
c2467d57e0 fix compiler warning for TBB 2018-09-06 13:07:27 -04:00
Dave Pugmire
0ca97902ae Fix tab/white space warnings. 2018-09-06 12:04:37 -04:00
Dave Pugmire
4ae9cedead Add new files for ghost cells 2018-09-06 11:39:04 -04:00
Dave Pugmire
beec402446 Support for ghost zones. Add a filter to remove ghost cells. 2018-09-06 11:34:13 -04:00
Kenneth Moreland
62d3b9f4fb Correct warning about potential divide by zero
I'm not sure why this warning suddenly popped up, but this was an easy
fix.
2018-09-05 15:28:26 -06:00
Kenneth Moreland
98a0a20feb Allow ArrayHandleTransform to work with ExecObject
This change allows you to set a subclass of
vtkm::cont::ExecutionObjectBase as a functor
used in ArrayHandleTransform. This latter class will then detect that
the functor is an ExecObject and will call PrepareForExecution with the
appropriate device to get the actual Functor object.

This change allows you to use virtual objects and other device dependent
objects as functors for ArrayHandleTransform without knowing a priori
what device the portal will be used on.
2018-09-05 13:11:04 -06:00
Robert Maynard
bc9772021c Merge topic 'worklet_invoker_api'
7e3727fa9 Convert some vtkm/cont classes over to vtkm::worklet::Invoker
eae0eb9b7 Add an easier way to launch vtkm worklets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !1398
2018-09-04 16:18:14 -04:00
Haocheng LIU
50f5c8531d Merge topic 'set-device-for-CoordinateSystemTransformFilter'
49ba89251 Set device for CoordinateTransformFilter

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !1397
2018-09-04 15:37:06 -04:00
Robert Maynard
7e3727fa9c Convert some vtkm/cont classes over to vtkm::worklet::Invoker 2018-09-04 15:01:18 -04:00
Robert Maynard
eae0eb9b70 Add an easier way to launch vtkm worklets 2018-09-04 15:01:18 -04:00
Haocheng LIU
49ba892512 Set device for CoordinateTransformFilter 2018-08-30 16:58:24 -04:00
Robert Maynard
a0216725cc Merge topic 'colortable-volta-fix'
b18a595d1 ColorTable fix for crash on volta.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1396
2018-08-30 14:34:28 -04:00
Aaron Knoll
b18a595d16 ColorTable fix for crash on volta. 2018-08-30 11:27:12 -06:00
Kenneth Moreland
ddc85d7385 Merge topic 'dispatcher-auto-device-2'
d879188de Make DispatcherBase invoke using a TryExecute

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1392
2018-08-30 12:59:22 -04:00
Kenneth Moreland
d879188de0 Make DispatcherBase invoke using a TryExecute
Rather than force all dispatchers to be templated on a device adapter,
instead use a TryExecute internally within the invoke to select a device
adapter.

Because this removes the need to declare a device when invoking a
worklet, this commit also removes the need to declare a device in
several other areas of the code.
2018-08-29 19:18:54 -07:00
Allison Vacanti
1d5a40e5bd Merge topic '288_atomic_array_benchmarks'
f16e1011e Cleanup / expand the benchmark parser scripts.
39f425526 Add benchmark for atomic arrays.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1389
2018-08-29 20:09:41 -04:00
Allison Vacanti
65d96ae806 Merge topic 'use_rt_dev_name'
a8fa8d918 Use device id names where possible.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1393
2018-08-29 20:08:32 -04:00
Kenneth Moreland
4e0e829b81 Merge topic 'array-handle-view'
926f81d9c Add change log for ArrayHandleView
9841d0e2c Add ArrayHandleView

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1394
2018-08-29 18:41:09 -04:00
Allison Vacanti
a8fa8d9184 Use device id names where possible. 2018-08-29 14:57:19 -07:00
Allison Vacanti
f16e1011ed Cleanup / expand the benchmark parser scripts. 2018-08-29 14:42:17 -07:00
Kenneth Moreland
926f81d9c0 Add change log for ArrayHandleView 2018-08-29 14:25:52 -07:00
Kenneth Moreland
9841d0e2c5 Add ArrayHandleView
Adds a fancy array handle that restricts access to an array to some
window of values. It takes a start offset and a size and represents the
values between that start offset and size past that.
2018-08-29 13:54:31 -07:00
Allison Vacanti
39f4255263 Add benchmark for atomic arrays. 2018-08-29 12:59:36 -07:00
Allison Vacanti
731bb729f2 Merge topic 'missing_include'
0ea133dfa Add missing include for OpenMP RuntimeDetector support.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Allison Vacanti <allison.vacanti@kitware.com>
Merge-request: !1391
2018-08-29 13:59:38 -04:00
Allison Vacanti
0ea133dfad Add missing include for OpenMP RuntimeDetector support. 2018-08-29 09:54:52 -07:00
Allison Vacanti
15ff15f952 Merge topic 'fix_missed_id'
e5fbd7bb6 Fix some missed IdAny renames.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1390
2018-08-29 12:45:56 -04:00
Allison Vacanti
e5fbd7bb6b Fix some missed IdAny renames. 2018-08-29 09:20:44 -07:00
Allison Vacanti
f62a8683ea Merge topic 'rename_device_ids'
b12498481 Rename Undefined and Any DeviceAdapterId subclasses for consistency.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1387
2018-08-29 12:17:53 -04:00
Allison Vacanti
b124984817 Rename Undefined and Any DeviceAdapterId subclasses for consistency. 2018-08-29 09:05:50 -07:00
Allison Vacanti
a878474a38 Merge topic '256_device_adapter_name'
716f393c3 Add DeviceAdapterId::GetName.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !1384
2018-08-29 11:52:23 -04:00
Robert Maynard
197a971e96 Merge topic 'UnitTestBoundingIntervalHierarchy_works_again'
35145fedb Re-enable UnitTestBoundingIntervalHierarchy

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1382
2018-08-28 23:34:10 -04:00
Robert Maynard
7c9c7cbdb5 Merge topic 'rendering_color_table_issue'
61c2cac35 MapperGL uses new ColorTable PrepareForExecution.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1388
2018-08-28 19:58:02 -04:00
Robert Maynard
61c2cac35c MapperGL uses new ColorTable PrepareForExecution. 2018-08-28 16:29:31 -07:00
Allison Vacanti
1fdf937f08 Merge topic 'move_changelog'
0f3f23627 Move changelog to proper directory.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1386
2018-08-28 17:59:25 -04:00
Allison Vacanti
0f3f23627b Move changelog to proper directory. 2018-08-28 14:57:01 -07:00
Allison Vacanti
716f393c32 Add DeviceAdapterId::GetName. 2018-08-28 14:14:49 -07:00
Robert Maynard
35145fedb4 Re-enable UnitTestBoundingIntervalHierarchy 2018-08-28 13:45:02 -04:00
Robert Maynard
18fdc009a3 Merge topic 'upgrade_algorithms_to_support_runtime_device'
59c8bd28a vtkm::cont::Algorithm now can be told which device to run on at runtime

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !1365
2018-08-28 13:34:55 -04:00
Allison Vacanti
cf15654112 Merge topic '287_benchmark_exception_handling'
2fd454065 Catch exceptions and continue during benchmarking.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1379
2018-08-28 11:50:49 -04:00
Allison Vacanti
5a26f66bba Merge topic 'hide_devid_constructor'
024a75821 Make DeviceAdapterId constructor protected.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1380
2018-08-28 11:41:46 -04:00
Robert Maynard
d57095bd6b Merge topic 'remove_posthoc_example'
9f5d57f8a Remove the posthocinterpolation example as it didn't showcase vtkm
7231f7e55 Use vtkm::Math functions in ABCField.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1377
2018-08-27 23:11:16 -04:00
Matt Larsen
bc58f04eba Merge topic 'fix/connectivity_tracer'
bed31eb80 turning off debug prints

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1381
2018-08-27 13:48:42 -04:00
mclarsen
bed31eb80f turning off debug prints 2018-08-26 20:06:14 -07:00
Allison Vacanti
024a75821d Make DeviceAdapterId constructor protected.
This forces users to use a defined tag, since they shouldn't need
to create their own.
2018-08-24 16:38:08 -04:00