nadavi
b380e702d2
only include the lodepng header when installing
2020-04-22 15:00:19 -06:00
nadavi
c9cbd9693d
fix type warnings
2020-04-22 12:29:40 -06:00
nadavi
62fe68acdd
fixes to match old files
2020-04-22 12:18:43 -06:00
nadavi
abf5692887
Merge branch 'upstream-lodepng' into lodepng-in-lib
...
* upstream-lodepng:
lodepng 2020-04-16 (b51302e1)
2020-04-22 12:07:52 -06:00
LodePNG Upstream
957568e368
lodepng 2020-04-16 (b51302e1)
...
Code extracted from:
https://gitlab.kitware.com/third-party/lodepng.git
at commit b51302e11851e825089172285f920a089f12e318 (for/vtk-m).
2020-04-22 12:07:52 -06:00
nadavi
e925d6d54c
turn lodepng into a library
2020-04-22 12:07:32 -06:00
Kenneth Moreland
f6970314a1
Merge topic 'restore-device-tests'
...
94f0d2f8a Restore device tests
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2054
2020-04-21 15:15:34 -04:00
Kenneth Moreland
94f0d2f8a5
Restore device tests
...
While debugging, I commented out a section of the device adapter tests
to narrow down on some issues. Oops, I forgot to restore the test. Do
that now.
2020-04-21 11:46:40 -06:00
Vicente Bolea
d88ec52c3b
Merge topic 'fix-463-better-cmd-help'
...
b05bd33d3 benchmarks: pass unparsed args to Google benchmark
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1978
2020-04-21 12:30:17 -04:00
Vicente Adolfo Bolea Sanchez
b05bd33d3c
benchmarks: pass unparsed args to Google benchmark
...
- It also adds Google's benchmarch compare.py script
- It is installed to the build directory.
- It add a wrapper script called compare-benchmarks.py which:
- Let you run each of the benchmarks with different devices
- It adds a README.md explaining how to run the benchmarks
- BenchmarkDeviceAdapter input size range parametrized at compile time
Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2020-04-21 10:52:31 -04:00
Robert Maynard
098c50b382
Merge topic 'encode_png'
...
1d4ebaec9 Image was upside down; flip it over, demo usage.
4e76c00a4 Fix linker error and multiply defined symbols.
eb36a07ab Use logging framework [CI SKIP]
104e7bd9c Halting first steps towards encoding .pngs.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2048
2020-04-21 08:05:03 -04:00
Robert Maynard
18a8e91ecd
Merge topic 'add_asan_to_ci'
...
1bf808c47 Add OpenMP to our asan dashboard
07f37c814 Add lsan suppression file
b3924ef30 Add an asan to our gitlab ci suite
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Acked-by: Nick <nathompson7@protonmail.com>
Merge-request: !2051
2020-04-20 16:17:27 -04:00
Robert Maynard
1bf808c479
Add OpenMP to our asan dashboard
2020-04-20 15:22:34 -04:00
Robert Maynard
07f37c814b
Add lsan suppression file
2020-04-20 14:16:52 -04:00
Robert Maynard
b3924ef302
Add an asan to our gitlab ci suite
2020-04-20 11:26:26 -04:00
Robert Maynard
e28b80649e
Merge topic 'add_another_openmp_ci_builder'
...
d7eaf1be8 make ubuntu1804_gcc6 run for each merge request and not just nightly
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2050
2020-04-17 11:05:12 -04:00
Vicente Bolea
a0e7838b87
Merge topic 'refactor-meshquality-use-errorcodes'
...
026fd14ba CellMetrics return vtkm::ErrorCode instead of raising errors
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2041
2020-04-17 10:43:48 -04:00
Ben Boeckel
51e9d10fa6
Merge topic 'findtbb-gcc48'
...
e890a9802 FindTBB: synchronize with VTK
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2049
2020-04-17 10:40:30 -04:00
Robert Maynard
d7eaf1be84
make ubuntu1804_gcc6 run for each merge request and not just nightly
2020-04-17 10:02:20 -04:00
Ben Boeckel
e890a98023
FindTBB: synchronize with VTK
2020-04-17 08:30:02 -04:00
Nick
1d4ebaec9f
Image was upside down; flip it over, demo usage.
2020-04-17 07:56:03 -04:00
Nick
4e76c00a42
Fix linker error and multiply defined symbols.
2020-04-17 07:32:01 -04:00
Nick
eb36a07ab7
Use logging framework [CI SKIP]
2020-04-17 06:53:32 -04:00
Nick
104e7bd9c2
Halting first steps towards encoding .pngs.
2020-04-17 06:22:30 -04:00
Kenneth Moreland
415c11ee18
Merge topic 'reduce-fancy-output'
...
6dc0b394a Fix reduce-by-key with a fancy output array
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2047
2020-04-16 20:25:41 -04:00
Vicente Adolfo Bolea Sanchez
026fd14ba6
CellMetrics return vtkm::ErrorCode instead of raising errors
...
- MeshQuality now throws ErrorCode messages
Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2020-04-16 17:27:42 -04:00
Robert Maynard
1d807a08eb
Merge topic 'reduce_openmp_num_threads_on_ci'
...
314a30ff1 Restrict the OpenMP threads # gitlab-ci tests uses
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !2046
2020-04-16 16:49:04 -04:00
Kenneth Moreland
6dc0b394a9
Fix reduce-by-key with a fancy output array
...
If you gave ReduceByKey a fancy output array that decorated another
array, you could get a runtime error for using an invalid array (if the
device adapter used the generic algorithm). The problem was that
ReduceByKey creates a temporary array, and that array was given the same
storage as the output array. That might not be valid for fancy arrays,
so instead use the default storage for the temporary array.
2020-04-16 14:19:44 -06:00
Kenneth Moreland
ae0fc3885b
Merge topic 'scan-fancy-output'
...
52f157e42 Fix scan-by-key with a fancy output array
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2045
2020-04-16 16:15:13 -04:00
Robert Maynard
314a30ff19
Restrict the OpenMP threads # gitlab-ci tests uses
...
A single gitlab-runner can run multiple test stages
concurrently on the same hardware. When we have 3
jobs asking for 100% of the cpu's we get a 300%
reduction in performance caused by task switching
2020-04-16 15:45:59 -04:00
Robert Maynard
2aa4928f7a
Merge topic 'correct_ubuntu1604_gcc48_test_failures'
...
5c16b3be2 ubuntu1604 builders now use the correct c && c++ compilers
3c80b35b8 ubuntu1604 test step needs to know where MPI install location is
889cb33dd gitlab-ci test jobs better handle false positive failures
b2823d79a ubuntu1604 gcc48 builder install test now pass
93cbea2d7 Update README with update CMake and compiler tested versions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2042
2020-04-16 14:58:47 -04:00
Robert Maynard
5c16b3be26
ubuntu1604 builders now use the correct c && c++ compilers
2020-04-16 13:25:55 -04:00
Robert Maynard
3c80b35b89
ubuntu1604 test step needs to know where MPI install location is
...
It needs the MPI location so that it can properly compile
users of VTK-m with MPI as part of `*_built_against_test_install`
tests
2020-04-16 13:25:55 -04:00
Robert Maynard
889cb33dde
gitlab-ci test jobs better handle false positive failures
...
If ctest had to re-run failed tests and those test pass we
now consider it a successful run
2020-04-16 13:25:55 -04:00
Kenneth Moreland
52f157e420
Fix scan-by-key with a fancy output array
...
If you gave ScanInclusiveByKey a fancy output array that decorated
another array, you would get a runtime error for using an invalid array.
The problem was that ScanInclusiveByKey creates a temporary output array
and then copies the result to the actual output array. The problem was
that the temporary output array was given the same storage as the output
array, which won't work if the output array is fancy. Instead, make the
storage for the temporary array default.
2020-04-16 10:37:48 -06:00
Robert Maynard
b2823d79aa
ubuntu1604 gcc48 builder install test now pass
...
Problem was that CMake 3.12 was the CMake version used in the
build image, and test image was using 3.13. This was a problem
as the install test invocation aren't backwards convertible and
therefore failed.
2020-04-16 08:43:28 -04:00
Robert Maynard
93cbea2d72
Update README with update CMake and compiler tested versions
2020-04-16 08:43:28 -04:00
Robert Maynard
d9c14e2818
Merge topic 'use_sccache_for_cuda_v3'
...
e97973689 Update gitlab-ci to use a version of sccache that supports CUDA
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2044
2020-04-15 22:25:31 -04:00
Robert Maynard
e979736893
Update gitlab-ci to use a version of sccache that supports CUDA
2020-04-15 16:10:53 -04:00
Robert Maynard
f9a35b7c80
Merge topic 'allow_tests_to_run_longer'
...
507e87c01 gitlab ci tests jobs now timeout after 50min
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2043
2020-04-15 15:58:50 -04:00
Robert Maynard
507e87c017
gitlab ci tests jobs now timeout after 50min
...
When load is high on machines it can take that long for debug
builds to complete
2020-04-15 15:08:57 -04:00
Robert Maynard
fdffaac2d2
Merge topic 'flying_edges_support_multi_contour'
...
243425421 Flying Edges now works with multiple contours
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !2039
2020-04-15 13:46:27 -04:00
Vicente Bolea
a2c51a3dc7
Merge topic 'refactor-workletinvokerfunctordetail-generalize-returntypes'
...
6c7855aed relax ThreadIndicesType requirements for WorkletInvokeFunctorDetail
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2035
2020-04-15 13:27:08 -04:00
Sujin Philip
c59a203b97
Merge topic 'update-cmake-version'
...
c102ea556 Update cmake minimum required version to 3.12
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2037
2020-04-14 09:42:03 -04:00
Robert Maynard
2434254218
Flying Edges now works with multiple contours
2020-04-14 09:21:27 -04:00
Sujin Philip
c102ea556c
Update cmake minimum required version to 3.12
2020-04-13 12:42:28 -05:00
Robert Maynard
6b46bfc54b
Merge topic 'revert_sccache_changes'
...
f6ed4060e Revert "Update gitlab-ci to use a version of sccache that supports CUDA"
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2038
2020-04-10 16:39:56 -04:00
Robert Maynard
f6ed4060ef
Revert "Update gitlab-ci to use a version of sccache that supports CUDA"
...
This reverts commit 5b469b75a191874abeb8c5cc694fcfba5f0b90c9.
2020-04-10 16:37:05 -04:00
Vicente Adolfo Bolea Sanchez
6c7855aed8
relax ThreadIndicesType requirements for WorkletInvokeFunctorDetail
...
Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2020-04-10 13:13:35 -04:00
Robert Maynard
b605c3bd8a
Merge topic 'update_sccache_to_nvcc_supported_version'
...
5b469b75a Update gitlab-ci to use a version of sccache that supports CUDA
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2033
2020-04-10 12:50:18 -04:00