Robert Maynard
c5232e998c
Simplify the implementation of vtkm::ForEach
...
Also by simplifying the implementation we work around a CUDA 9 issue which
when compiling the old version would cause an internal compiler error and
crash compilation.
2017-08-30 14:35:26 -04:00
Robert Maynard
6069c19f3f
Brigand.hpp now works around CUDA 9 compiler issues.
2017-08-30 14:35:26 -04:00
Robert Maynard
6a4e91d5d1
ExecutionPolicy now handles CUDA9 removal of __CUDACC_VER__
2017-08-24 12:59:16 -04:00
Matt Larsen
5782152485
Merge topic 'x_ray_add_emmission'
...
5429f120 fixed energy error and fix for ray camera
ac784330 Merge remote-tracking branch 'upstream/master' into x_ray_add_emmission
521e445b emission now functioning
52959d91 testing emission
5fc80517 initial version on absorption and emission integration
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !893
2017-08-20 00:09:13 -04:00
Matt Larsen
5429f1200e
fixed energy error and fix for ray camera
2017-08-19 17:19:03 -07:00
Sujin Philip
a1abc4c211
Merge topic 'refactor-kdtree'
...
2141435a Refactor KDTree3D worklet
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !890
2017-08-18 11:41:01 -04:00
Robert Maynard
b9e69217ae
Merge topic 'typedef_to_using_round_4'
...
f6863594 Convert VTK-m over to use 'using' instead of 'typedef'
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !885
2017-08-17 16:38:49 -04:00
Sujin Philip
11fce76732
Merge topic 'cuda-streams'
...
72a6cf4a Change cuda calls to use the per-thread stream.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !887
2017-08-17 15:27:25 -04:00
Sujin Philip
2141435a19
Refactor KDTree3D worklet
2017-08-17 15:25:08 -04:00
Sujin Philip
72a6cf4a21
Change cuda calls to use the per-thread stream.
2017-08-17 11:03:02 -04:00
Robert Maynard
f68635941e
Convert VTK-m over to use 'using' instead of 'typedef'
2017-08-17 10:47:25 -04:00
Robert Maynard
0c435d39f4
Merge topic 'remove_lines_with_only_semicolon'
...
a487017f Remove lines that only contain a semi-colon.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !886
2017-08-17 09:34:15 -04:00
Robert Maynard
eafacc6dc5
Merge topic 'device_adapter_general_use_auto_and_decltype'
...
89f43999 Reduce the amount of typedef statements in DeviceAdapters
e0958311 ArrayHandleReverse now supports shrink/allocate under all conditions.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !879
2017-08-16 16:15:52 -04:00
Robert Maynard
a487017fd1
Remove lines that only contain a semi-colon.
2017-08-16 14:31:17 -04:00
Robert Maynard
89f439999a
Reduce the amount of typedef statements in DeviceAdapters
...
By using the auto keyword and decltype we can reduce the number of
complex typedefs that exist when writing device adapter algorithms.
The goal being that it is easier for developers to see the actual
algorithms being implemented, by reducing the amount of template
'noise'.
2017-08-16 14:23:21 -04:00
Robert Maynard
e095831199
ArrayHandleReverse now supports shrink/allocate under all conditions.
...
Previously ArrayHandleReverse would only work if it was provided an explicit
users array to map too. But this doesn't need to be so, if a user wants to
start by constructing an ArrayHandleReverse we should allow that.
The side effect of this, is that some very tricky code in the DeviceAdapters
can be removed, that explicitly was added to allow output to ArrayHandleReverse
2017-08-16 14:20:05 -04:00
Robert Maynard
516db147a8
Merge topic 'rework_interop_to_not_use_CopyInto'
...
a185cd29 Refactor vtkm::interop::TransferToOpenGL for implicit ArrayHandles.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: David Thompson <david.thompson@kitware.com>
Acked-by: Allison Vacanti <allison.vacanti@kitware.com>
Merge-request: !884
2017-08-16 13:46:49 -04:00
Robert Maynard
a185cd297b
Refactor vtkm::interop::TransferToOpenGL for implicit ArrayHandles.
...
Previously TransferToOpenGL would rely on every array handle implementing
the CopyInto method for transferring to work properly. This was problematic
as most Implicit arrays don't implement CopyInto.
Now we use the Devices built in Copy infrastructure to facilitate moving
data from an implicit array to concrete memory which we can be passed
to OpenGL. As an additional optimization, the temporary memory for this
interop is cached in the bufferstate.
2017-08-15 17:04:10 -04:00
Matt Larsen
ac78433085
Merge remote-tracking branch 'upstream/master' into x_ray_add_emmission
2017-08-15 07:27:17 -07:00
Sujin Philip
dfb38f9349
Merge topic 'cellsetexplicit-gpu-impl'
...
c07fb14b Build CellSetExplicit.cxx for devices
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !883
2017-08-14 14:02:00 -04:00
Allison Vacanti
23755bd635
Merge topic '150-interop_device_refactor'
...
fcee1cd5 Deduce device adapter tag in interop::TransferToOpenGL.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !880
2017-08-14 12:19:06 -04:00
Sujin Philip
c07fb14bf1
Build CellSetExplicit.cxx for devices
2017-08-14 10:19:34 -04:00
Allison Vacanti
fcee1cd5e9
Deduce device adapter tag in interop::TransferToOpenGL.
2017-08-14 09:36:39 -04:00
Matt Larsen
7ca8d1bd3a
Merge topic 'mapper_fixes'
...
df185a67 removing background colors from tracers. Background color is now the responsiblitiy of the canvas.
28b1e6b1 initializing ray color buffer to 0
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !881
2017-08-12 22:29:12 -04:00
Matt Larsen
df185a67aa
removing background colors from tracers. Background color is now the responsiblitiy of the canvas.
2017-08-12 17:22:47 -07:00
Matt Larsen
28b1e6b13b
initializing ray color buffer to 0
2017-08-12 15:42:26 -07:00
Sujin Philip
9deea72f72
Merge topic 'update-buildconnectivity'
...
4e1b026c Streamline CellSetExplicit
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !878
2017-08-11 17:29:35 -04:00
Dave Pugmire
bbad4aff88
Merge topic 'pics_unittests'
...
533380e7 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into pics_unittests
1c35a745 Resolve merge conflicts for pics_unittest
0d37915f Merge branch 'pics_unittests' of gitlab.kitware.com:dpugmire/vtk-m into pics_unittests
2c662457 Fix particle advection compile warnings
84f9ec47 Fix particle advection build warning
82067fc8 fix for particle advection build issue
8915d902 removing trailing whitespaces
f5273c62 Clang reformat.
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !877
2017-08-11 17:28:56 -04:00
Yenpure
533380e705
Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into pics_unittests
2017-08-11 16:01:06 -04:00
Allison Vacanti
c3cdd9c2c9
Merge topic '135-consolidate_result_objects'
...
565896cc Combine ResultField + ResultDataSet into Result.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !872
2017-08-11 15:13:25 -04:00
Yenpure
1c35a74521
Resolve merge conflicts for pics_unittest
2017-08-11 13:57:47 -04:00
Sujin Philip
4e1b026c8a
Streamline CellSetExplicit
...
1) Don't require a DeviceAdapter for the BuildConnectivity function (#131 )
2) Explicitly instantiate default CellSetExplicit and CellSetSingleType
2017-08-11 10:14:40 -04:00
Allison Vacanti
565896cc49
Combine ResultField + ResultDataSet into Result.
2017-08-11 08:25:42 -04:00
Robert Maynard
1f451d538b
Merge topic 'vtkm_assert_dont_generate_unused_warnings_in_relwithdebinfo'
...
33afb076 VTKM_ASSERT when disabled will still 'use' the input variables.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !876
2017-08-11 08:23:17 -04:00
Robert Maynard
3a8a64dfa3
Merge topic 'vtkm_cont_internal_now_uses_using'
...
ac90e2dc vtkm::cont::internal now prefers 'using' over 'typedef'
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Allison Vacanti <allison.vacanti@kitware.com>
Merge-request: !875
2017-08-11 08:23:06 -04:00
Robert Maynard
d6716ceb93
Merge topic 'examples_using_over_typedef'
...
c0b08b5a Convert examples over to using 'using' over 'typedef'
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Sujin Philip <sujin.philip@kitware.com>
Merge-request: !874
2017-08-11 08:22:54 -04:00
Allison Vacanti
b910e6e316
Merge topic '167-remove_ArrayHandleCuda'
...
326757b5 Remove ArrayHandleCuda.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !873
2017-08-11 08:19:58 -04:00
Dave Pugmire
0d37915fb2
Merge branch 'pics_unittests' of gitlab.kitware.com:dpugmire/vtk-m into pics_unittests
2017-08-11 07:42:35 -04:00
ayenpure
2c662457f0
Fix particle advection compile warnings
2017-08-10 22:19:50 -04:00
ayenpure
84f9ec47ee
Fix particle advection build warning
...
-adding code to resolve build warnings for gcc 5+
-change the return object of steps in unit test
2017-08-10 21:32:42 -04:00
ayenpure
82067fc8f3
fix for particle advection build issue
2017-08-10 20:34:05 -04:00
ayenpure
8915d90273
removing trailing whitespaces
2017-08-10 18:15:21 -04:00
Dave Pugmire
f5273c62ef
Clang reformat.
2017-08-10 16:42:52 -04:00
Dave Pugmire
1ae6bfcb1e
Merge branch 'pics_unittests' of gitlab.kitware.com:dpugmire/vtk-m into pics_unittests
2017-08-10 16:41:16 -04:00
Dave Pugmire
02bab1a6b7
Fix merge issue.
2017-08-10 16:34:39 -04:00
Dave Pugmire
e5a814d952
Merge branch 'pics_unittests' of gitlab.kitware.com:dpugmire/vtk-m into pics_unittests
2017-08-10 16:28:48 -04:00
Dave Pugmire
b23564a526
Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into pics_unittests
2017-08-10 16:18:18 -04:00
Robert Maynard
33afb076c8
VTKM_ASSERT when disabled will still 'use' the input variables.
...
This is important as VTKM_ASSERT was the only usage of some variables, so in
release mode we would have declared but not used warnings.
2017-08-10 15:37:35 -04:00
Robert Maynard
ac90e2dc73
vtkm::cont::internal now prefers 'using' over 'typedef'
2017-08-10 15:26:05 -04:00
Allison Vacanti
326757b571
Remove ArrayHandleCuda.
...
!861 (b0dba9a1) adds this functionality to basic ArrayHandles.
2017-08-10 15:21:52 -04:00