Commit Graph

5674 Commits

Author SHA1 Message Date
Kenneth Moreland
6aa99aec0f Add ability to remove degenerate cells in CleanGrid 2019-02-26 12:44:57 -07:00
Kenneth Moreland
5688375c99 Add point merge capabilities to CleanGrid filter 2019-02-26 12:44:33 -07:00
Matt Larsen
5e2e0d9ff1 Merge topic 'bvh/remove_device_template'
b03fec9a3 bvh device adpater banishment

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1559
2019-02-25 21:33:55 -05:00
mclarsen
b03fec9a31 bvh device adpater banishment 2019-02-25 15:27:42 -08:00
Kenneth Moreland
f010a6931f Merge topic 'mask-worklets'
191d6e558 Add Mask capabilities to worklets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Allison Vacanti <allison.vacanti@kitware.com>
Merge-request: !1528
2019-02-25 18:23:59 -05:00
Haocheng LIU
9c7e8a026e Merge topic 'merge-benchmark-executables'
634f523d9 Merge benchmark executables into a device dependent shared library

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1552
2019-02-25 15:35:36 -05:00
Haocheng LIU
634f523d92 Merge benchmark executables into a device dependent shared library
VTK-m has been updated to replace old per device benchmark executables with a device
dependent shared library so that it's able to accept a device adapter at runtime through
the "--device=" argument.
2019-02-25 12:26:47 -05:00
Kenneth Moreland
191d6e5580 Add Mask capabilities to worklets
Mask objects allow you to specify which output values should be
generated when a worklet is run. That is, the Mask allows you to skip
the invocation of a worklet for any number of outputs.
2019-02-25 08:58:39 -07:00
Kenneth Moreland
c27a33669b Merge topic 'portal-value-reference-operators'
af4aef991 Add missing %= operator to ArrayPortalValueReference
9e02cd33a Declare ArrayPortalValueReference::operator= as const
b141f7515 Add more operator= to ArrayPortalValueReference
c8db70ae8 Fix warning about automatic conversions loosing precision
ddc6c91e3 Fix error about constexpr not available on CUDA device
1ca55ac31 Add specialized operators for ArrayPortalValueReference

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Allison Vacanti <allison.vacanti@kitware.com>
Merge-request: !1542
2019-02-24 12:19:32 -05:00
Matt Larsen
076a7311ca Merge topic 'rt_use_shared'
8a38717c3 have make_shared call default constructor
3fae21fa7 no pointers
4cd4637c1 ray tracing now using shared pointers for intersectors

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1556
2019-02-23 10:39:59 -05:00
Kenneth Moreland
af4aef9913 Add missing %= operator to ArrayPortalValueReference 2019-02-22 17:11:11 -07:00
mclarsen
8a38717c38 have make_shared call default constructor 2019-02-22 08:49:42 -08:00
mclarsen
3fae21fa7d no pointers 2019-02-22 08:22:29 -08:00
mclarsen
4cd4637c18 ray tracing now using shared pointers for intersectors 2019-02-22 08:06:04 -08:00
Matt Larsen
6b4a4267dc Merge topic 'fix/ray_bench'
53a8fa725 rebuilding everything each time for ray benchmark

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1554
2019-02-21 22:31:12 -05:00
mclarsen
53a8fa7259 rebuilding everything each time for ray benchmark 2019-02-21 15:58:53 -08:00
Kenneth Moreland
9e02cd33af Declare ArrayPortalValueReference::operator= as const
Declaring operator= as const seems a little weird because we are
changing the value. But remember that ArrayPortalReference is only a
reference class. The reference itself does not change, just the thing
that it is referencing. So declaring as const is correct and necessary
so that you can set the value of a reference returned from a function
(which is a right hand side value).
2019-02-21 08:39:21 -07:00
Kenneth Moreland
b141f75150 Add more operator= to ArrayPortalValueReference
Forward arguments to assignment operator in ArrayPoetalValueReference
better.
2019-02-20 13:33:55 -07:00
Kenneth Moreland
c8db70ae8c Fix warning about automatic conversions loosing precision 2019-02-20 13:33:55 -07:00
Kenneth Moreland
ddc6c91e37 Fix error about constexpr not available on CUDA device
For some reason, these changes caused one of the CUDA compilers to
create an error about a variable declared constexpr not being available
on the device. That sounds like a bug in nvcc as the constexpr should
just be evaluated rather than stored in some part of memory. At any
rate, changing the constexpr to a preprocessing macro solves the
problem.
2019-02-20 13:33:55 -07:00
Kenneth Moreland
1ca55ac319 Add specialized operators for ArrayPortalValueReference
The ArrayPortalValueReference is supposed to behave just like the value
it encapsulates and does so by automatically converting to the base type
when necessary. However, when it is possible to convert that to
something else, it is possible to get errors about ambiguous overloads.
To avoid these, add specialized versions of the operators to specify
which ones should be used.

Also consolidated the CUDA version of an ArrayPortalValueReference to the
standard one. The two implementations were equivalent and we would like
changes to apply to both.
2019-02-20 13:33:55 -07:00
Matt Larsen
6851077ebb Merge topic 'fix/ExtractStructured'
bccb00df2 allow extract structured to output rectilinear coordinates

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1553
2019-02-19 16:44:00 -05:00
mclarsen
bccb00df29 allow extract structured to output rectilinear coordinates 2019-02-19 08:11:09 -08:00
Ben Boeckel
e0c0e4b3da Merge topic 'fix-undef-errors'
e266dcb34 Merge branch 'upstream-taotuple' into fix-undef-errors
c2bd0a710 taotuple 2019-02-14 (b8ca98d2)
5b71c3467 brigand: fix intel check

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1551
2019-02-14 16:35:58 -05:00
Ben Boeckel
e266dcb34f Merge branch 'upstream-taotuple' into fix-undef-errors
* upstream-taotuple:
  taotuple 2019-02-14 (b8ca98d2)
2019-02-14 16:29:33 -05:00
TaoCpp Tuple Upstream
c2bd0a710e taotuple 2019-02-14 (b8ca98d2)
Code extracted from:

    https://gitlab.kitware.com/third-party/taotuple.git

at commit b8ca98d2d3c593a3ee6506a71629d3d92e89d327 (for/vtk-m).
2019-02-14 16:29:33 -05:00
Ben Boeckel
5b71c34675 brigand: fix intel check
This matches the check that CMake uses to detect the Intel compiler. It
also avoids warnings with `-Wundef`.
2019-02-14 16:26:14 -05:00
Haocheng LIU
bdcb76cadb Merge topic 'suppress-more-asan-warnings'
18ba2baf3 Suppress system lib memory leak warnings found by asan

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1550
2019-02-13 13:56:18 -05:00
Haocheng LIU
18ba2baf36 Suppress system lib memory leak warnings found by asan 2019-02-13 13:49:24 -05:00
Haocheng LIU
8699bb9d85 Merge topic 'suppress-loguru-memory-leak'
416586656 Suppress loguru memory leak

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1549
2019-02-12 11:24:33 -05:00
Haocheng LIU
4165866567 Suppress loguru memory leak
Due to a bug in pthread, loguru would leak 12 bytes memory from the main
thread when `loguru::init` is in use. Since GCC does not support
blacklist file, the suppression logic is added to
ctest_memcheck_supp_file file.

See details in loguru github issue #59.
2019-02-12 10:38:48 -05:00
Haocheng LIU
a2c03f2731 Merge topic 'revert-loguru-strdup-fix'
542bb3659 Merge branch 'upstream-loguru' into revert-loguru-strdup-fix
d39a72313 loguru 2019-02-12 (6ab123ef)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Allison Vacanti <allison.vacanti@kitware.com>
Merge-request: !1548
2019-02-12 09:55:11 -05:00
Haocheng LIU
542bb36594 Merge branch 'upstream-loguru' into revert-loguru-strdup-fix
* upstream-loguru:
  loguru 2019-02-12 (6ab123ef)
2019-02-12 09:03:55 -05:00
Loguru Upstream
d39a72313c loguru 2019-02-12 (6ab123ef)
Code extracted from:

    https://gitlab.kitware.com/third-party/loguru.git

at commit 6ab123efcb343cd7f02793e9e4352651bacf8f5b (for/vtk-m).
2019-02-12 09:03:55 -05:00
Haocheng LIU
858c788244 Merge topic 'free-annotations-in-View'
d19524016 Refactor View class and fix its memory leak

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1546
2019-02-12 08:58:00 -05:00
Haocheng LIU
d195240165 Refactor View class and fix its memory leak 2019-02-11 16:32:27 -05:00
Haocheng LIU
7978f773d5 Merge topic 'fix-loguru-memory-leak'
e3e63ff60 Merge branch 'upstream-loguru' into fix-loguru-memory-leak
81b7d5be5 loguru 2019-02-11 (2569911a)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1547
2019-02-11 13:39:39 -05:00
Loguru Upstream
81b7d5be5c loguru 2019-02-11 (2569911a)
Code extracted from:

    https://gitlab.kitware.com/third-party/loguru.git

at commit 2569911a3b27d2da1ee04b80cb2e8c8581c4b9e3 (for/vtk-m).
2019-02-11 13:18:19 -05:00
Haocheng LIU
e3e63ff605 Merge branch 'upstream-loguru' into fix-loguru-memory-leak
* upstream-loguru:
  loguru 2019-02-11 (2569911a)
2019-02-11 13:18:19 -05:00
Robert Maynard
5cb45cefa3 Merge topic 'suppress_osx_static_link_warnings'
1ca15bab7 Suppress OSX weak symbol linking warning

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1545
2019-02-11 10:23:05 -05:00
Robert Maynard
9c644cc9c7 Merge topic 'fix-copyright-check'
d3ab05a7b Fix copyright statement check

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1543
2019-02-11 08:37:01 -05:00
Robert Maynard
1ca15bab7d Suppress OSX weak symbol linking warning 2019-02-11 08:36:01 -05:00
Robert Maynard
4c20451606 Merge topic 'add_copyright_to_diy_serialization'
4b0d56e7d Add Copyright to diy/serialization.h

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1544
2019-02-11 08:32:08 -05:00
Robert Maynard
4b0d56e7d0 Add Copyright to diy/serialization.h 2019-02-11 08:31:14 -05:00
Kenneth Moreland
d3ab05a7b8 Fix copyright statement check
Do not check for the copyright statement for files in the third party
directory. These files shouldn't have the VTK-m copyright. Frankly, I
don't understand why this has not been a problem before.
2019-02-10 03:02:57 -07:00
Dave Pugmire
b59df302e5 Merge topic 'AddGhostZone2'
bebbd92e3 Filter for adding ghost zones.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !1540
2019-02-09 16:27:16 -05:00
Robert Maynard
421c354fee Merge topic 'diy_conditional_serialization'
451bff6f1 vtkmdiy: Use the new mangled VTKM_DIY_ defines
7d307b96c Merge branch 'upstream-diy' into diy_conditional_serialization
0adcc4d45 diy 2019-02-08 (72a201e1)
74acc2a7b vtkmdiy: Support only including the serialization headers of diy

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Matt Larsen <larsen30@llnl.gov>
Merge-request: !1541
2019-02-08 19:30:49 -05:00
Robert Maynard
451bff6f14 vtkmdiy: Use the new mangled VTKM_DIY_ defines 2019-02-08 14:31:34 -05:00
Robert Maynard
7d307b96ce Merge branch 'upstream-diy' into diy_conditional_serialization
* upstream-diy:
  diy 2019-02-08 (72a201e1)
2019-02-08 14:25:51 -05:00
Diy Upstream
0adcc4d456 diy 2019-02-08 (72a201e1)
Code extracted from:

    https://gitlab.kitware.com/third-party/diy2.git

at commit 72a201e1d5f8e35c9e28b66ce9faa34dd5365680 (for/vtk-m).
2019-02-08 14:25:51 -05:00