Robert Maynard
6fbca1e43f
Update tbb and serial unit tests to mark which backend they use properly
2017-12-28 14:23:51 -05:00
Robert Maynard
24e57556e6
Merge branch 'master' into vtk-m-cmake_refactor
...
Includes updating to cleanup benchmark code and handle the new MPI option
2017-12-28 14:23:21 -05:00
Robert Maynard
de7162ab8f
Merge topic 'compile_in_dataset'
...
3eb8294b Build vtkm::cont::DataSet into the vtkm_cont library.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Matt Larsen <mlarsen@cs.uoregon.edu>
Merge-request: !1032
2017-12-22 08:24:38 -05:00
Sujin Philip
96c22747d5
Merge topic 'fix-field-api'
...
334262db Fix Field constructors
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1035
2017-12-21 14:51:52 -05:00
Sujin Philip
334262db16
Fix Field constructors
...
1. Add option to copy user supplied array in make_ArrayHandle.
2. Replace Field constructors that take user supplied arrays with make_Field.
3. Replace CoordinateSystem constructors that take user supplied arrays with
make_CoordinateSystem.
2017-12-21 12:48:15 -05:00
Matt Larsen
83e51cf42e
creating ray tracing benchmark
2017-12-20 14:22:52 -08:00
Matt Larsen
a410650655
trying to create a benchmark for ray tracing
2017-12-20 10:25:16 -08:00
Sujin Philip
fab26344c6
Merge topic 'fix-ManagedMemory-issue'
...
b530a5ce Fix issue with Managed Memory for 0 size arrays
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1033
2017-12-20 09:39:04 -05:00
Robert Maynard
a6ec3ab093
Merge topic 'enable_all_point_gradient_tests'
...
a73fc3fd Enable all point gradient worklet tests
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1031
2017-12-20 08:25:23 -05:00
Robert Maynard
a32394b92b
Merge topic 'correct_capitalization_in_datasetwriter'
...
1d816534 Local var for the array portal instead of inside the for loop.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1029
2017-12-20 08:25:10 -05:00
Sujin Philip
b530a5ce3f
Fix issue with Managed Memory for 0 size arrays
2017-12-19 17:18:24 -05:00
Robert Maynard
a73fc3fd0a
Enable all point gradient worklet tests
2017-12-19 16:31:47 -05:00
Robert Maynard
3eb8294b24
Build vtkm::cont::DataSet into the vtkm_cont library.
2017-12-19 15:14:30 -05:00
Dave Pugmire
1d8165344f
Local var for the array portal instead of inside the for loop.
2017-12-19 11:48:38 -05:00
Dave Pugmire
c6a4e335d9
Normalize worklet (both in place, and copy).
2017-12-19 11:44:30 -05:00
Utkarsh Ayachit
186e686968
Add ability to run tests with mpiexec
.
...
Extends `vtkm_unit_tests` to support running tests with `mpiexec`.
Updates `UnitTestMultiBlock` to use mpi, if available.
2017-12-18 14:45:25 -05:00
Utkarsh Ayachit
1bb7dde971
Update MultiBlock to use diy
for block-based operations.
...
Updating MultiBlock to use `diy` for computing block summaries like
ranges, bounds etc. This makes it possible to MultiBlock to
work in distributed operations without explicit logic.
2017-12-15 15:15:23 -05:00
Utkarsh Ayachit
e9c7e5619c
Add EnvironmentTracker
to track MPI communicator.
...
When using MPI, we need a mechanism in VTK-m to set/get the MPI
controller. Added `EnvironmentTracker` to do that.
2017-12-15 15:15:23 -05:00
Utkarsh Ayachit
d52b275e59
Making vtkm-cont depend on diy.
2017-12-15 15:15:23 -05:00
Utkarsh Ayachit
e72ce1e141
Update MultiBlock to follow coding style.
...
Use `this` and rename `blocks` to `Blocks`.
2017-12-15 10:53:30 -05:00
Robert Maynard
0de08aae06
Merge topic 'teach_brigand_about_cray_compiler'
...
06c5f161 Teach brigand about more intel compiler limitations introduced in 18.X.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1020
2017-12-14 15:26:06 -05:00
Robert Maynard
06c5f1613f
Teach brigand about more intel compiler limitations introduced in 18.X.
2017-12-14 13:40:03 -05:00
Robert Maynard
7420f72c24
Simplify the boilerplate functors in vtkm/cont/Algorithms.
2017-12-12 11:10:52 -05:00
Robert Maynard
a1a23f83d3
Merge topic 'intel_compiler_hangs_on_brigand_crossproduct'
...
f9f205e9 ListCrossProduct now uses a special version for MSVC2013
c02349a8 ListCrossProduct now uses a lazy evaluation implementation
7b1b9e44 Correctly forward rvalue functors when passed to CastAndCall
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1018
2017-12-12 09:29:50 -05:00
Matt Larsen
c7db823ea0
Merge topic 'algorithm_wrap'
...
bf6cb1bd removing state from functors and adding variadic templates
013113e3 Fixing streaming scan doc
eaebaea7 adding a wrapper for device adapter algorithm
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1011
2017-12-11 20:28:48 -05:00
Matt Larsen
bf6cb1bd62
removing state from functors and adding variadic templates
2017-12-11 14:15:12 -08:00
Robert Maynard
f9f205e9df
ListCrossProduct now uses a special version for MSVC2013
...
The lazy version that was implemented to get the Intel compiler to work doesn't
work under MSVC2013. Since MSVC2013 is our least c++11 conforming compiler we
add a special MSVS2013 code path, since it will be the first compiler we drop.
2017-12-11 16:27:15 -05:00
Robert Maynard
c02349a8e7
ListCrossProduct now uses a lazy evaluation implementation
...
The intel compiler could not generate code in a timely manner ( 12+ hours ) when
asked to produce a cross product of very long lists. By moving to a lazy
evaluation scheme we now have all compilers product a cross product in a
reasonable amount of time ( 2-4 seconds ).
This resolves Issues:
- https://gitlab.kitware.com/vtk/vtk-m/issues/190
- https://gitlab.kitware.com/vtk/vtk/issues/17196
2017-12-11 13:31:56 -05:00
Matthew Letter
eec36a0a3b
Adding missing benchmarks CMakeLists
...
trying to debug dashboard errors
2017-12-08 13:17:57 -07:00
Robert Maynard
7b1b9e445a
Correctly forward rvalue functors when passed to CastAndCall
2017-12-08 12:02:01 -05:00
Matthew Letter
4b058229ce
Merge branch 'master' into cmake_refactor
2017-12-08 09:51:48 -07:00
Robert Maynard
5ca31f7072
Merge topic 'dispatcher_base_proper_type_for_sizeof'
...
d51ddda9 Since sizeof returns std::size_t we should iterate using unsigned integers
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1016
2017-12-07 08:12:28 -05:00
Robert Maynard
d51ddda9b6
Since sizeof returns std::size_t we should iterate using unsigned integers
2017-12-06 13:57:05 -05:00
Sujin Philip
91f26844a6
Merge topic 'remove-VTKM_EXEC_CONSTANT'
...
e28309f0 Remove VTKM_EXEC_CONSTANT
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1015
2017-12-06 11:50:55 -05:00
Matthew Letter
e9fe613984
removing DeviceAdapter and CopySpeeds for testing
...
trying to run down a compilation error and want to kick off the cdash tests to see if they pass without these two benchmarks
2017-12-05 16:37:56 -07:00
Matt Larsen
39abcb99c3
fixing compile errors
2017-12-05 13:26:45 -08:00
Sujin Philip
e28309f09b
Remove VTKM_EXEC_CONSTANT
...
If a global static array is declared with VTKM_EXEC_CONSTANT and the code
is compiled by nvcc (for multibackend code) then the array is only accesible
on the GPU. If for some reason a worklet fails on the cuda backend and it is
re-executed on any of the CPU backends, it will continue to fail.
We couldn't find a simple way to declare the array once and have it available
on both CPU and GPU. The approach we are using here is to declare the arrays
as static inside some "Get" function which is marked as VTKM_EXEC_CONT.
2017-12-05 13:49:55 -05:00
Matt Larsen
655412fca3
adding support for log plots with the wireframer
2017-12-05 10:00:27 -08:00
Matt Larsen
1d58eeaa9e
Merge topic 'annotation_color'
...
6d616309 let there be foreground color
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1013
2017-12-05 00:13:07 -05:00
Matt Larsen
6d61630928
let there be foreground color
2017-12-04 20:46:38 -08:00
Matt Larsen
17f4e1b51a
avoiding zero directions
2017-12-03 09:38:53 -08:00
Matthew Letter
77285a8064
removed commented out old code
2017-11-30 15:43:39 -07:00
Matthew Letter
072267bdcb
adding benchmark files into benchmarking cmake
...
added the full file names to the benchmarking cmakelists.txt
2017-11-30 15:28:20 -07:00
Matthew Letter
26b7951336
changing default beckend to None
...
this was discussed in our weekly meeting as the default backend
2017-11-29 16:04:43 -07:00
Robert Maynard
59afc5cba6
Merge topic 'dispatcher_base_leverage_new_cast_and_call'
...
f6e18ac4 Remove IntegerSequence.h as we don't need it in vtk-m anymore
7f762204 Redesign the Dispatcher to not need FunctionInterface to convert dynamic types
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1010
2017-11-29 15:44:24 -05:00
Robert Maynard
f6e18ac452
Remove IntegerSequence.h as we don't need it in vtk-m anymore
2017-11-29 10:55:04 -05:00
Matt Larsen
013113e393
Fixing streaming scan doc
2017-11-29 07:47:06 -08:00
Matt Larsen
eaebaea7cb
adding a wrapper for device adapter algorithm
2017-11-29 07:44:37 -08:00
Matthew Letter
fac43bd812
Merge branch 'master' into cmake_refactor
2017-11-28 13:36:02 -07:00
Robert Maynard
7f76220427
Redesign the Dispatcher to not need FunctionInterface to convert dynamic types
2017-11-28 11:01:02 -05:00