This project is mirrored from https://gitlab.kitware.com/vtk/vtk-m.git.
Pull mirroring updated .
- 05 Apr, 2021 2 commits
-
-
Nick Thompson authored
-
Kenneth Moreland authored
97944e59 Correctly handle when to use `DEVICE_LINK` generator expression Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kenneth Moreland <kmorel@acm.org> Merge-request: !2458
-
- 02 Apr, 2021 1 commit
-
-
Robert Maynard authored
-
- 01 Apr, 2021 2 commits
-
-
Kenneth Moreland authored
6921b5cc Minor style changes in UnitTestVariant 6ccb32d2 Slight comment changes 647bc94f Reduce the number of lines required to implement Variant::CastAndCall 991eeba9 Reduce the number of lines required to implement VariantUnion 7607736e Reduce the number of lines required to implement AllTrivially* 9816c422 Add padding to Grid struct in CellLocatorTwoLevel e480fd7a Support copying a Variant to itself d2d9ba33 Make connectivity structures trivially copyable ... Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2444
-
Kenneth Moreland authored
-
- 31 Mar, 2021 5 commits
-
-
Kenneth Moreland authored
-
Nickolas Davis authored
a683a880 add support for removing annotations and remove from regression tests Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Matt Larsen <larsen30@llnl.gov> Merge-request: !2433
-
nadavi authored
-
Kenneth Moreland authored
-
Ben Boeckel authored
26d5168b Fix types used for coordinates in ArrayRangeCompute Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Vicente Bolea <vicente.bolea@kitware.com> Merge-request: !2453
-
- 30 Mar, 2021 9 commits
-
-
Kenneth Moreland authored
-
Kenneth Moreland authored
-
Kenneth Moreland authored
There appears to be a bug in CUDA 9.2 where if you have a class that contains a struct that itself has to have padding in the middle for alignment purposes and you then put that class in a union with other classes, it seems like that padding can cause problems with other objects in the union.
-
Kenneth Moreland authored
-
Kenneth Moreland authored
It always worked to trivially copy these classes, but the compiler did not think so because copy constructors were defined. Change these constructors to be default so that the compler can properly check triviality.
-
Kenneth Moreland authored
For some reason some versions of the CUDA compiler would return true for `is_trivially_copyable` on a `VariantUnion` even when the types of the union caused the copy constructor to get deleted. Solve the problem by using `AllTriviallyCopyable` instead of directly caling `is_trivially_copyable` on the union.
-
Kenneth Moreland authored
Nvcc was having troubles resolving the return type of the overloaded function to get a value out of a `VariantUnion`. Replace the implementation with a class with specializations. This is more verbose, but easier on the compiler.
-
Kenneth Moreland authored
Create a `VaraintUnion` that is an actual C++ `union` to store the data in a `Variant`. You may be asking yourself, why not just use an `std::aligned_union` rather than a real union type? That was our first implementation, but the problem is that the `std::aligned_union` reference needs to be recast to the actual type. Typically you would do that with `reinterpret_cast`. However, doing that leads to undefined behavior. The C++ compiler assumes that 2 pointers of different types point to different memory (even if it is clear that they are set to the same address). That means optimizers can remove code because it "knows" that data in one type cannot affect data in another type. To safely change the type of an `std::aligned_union`, you really have to do an `std::memcpy`. This is problematic for types that cannot be trivially copied. Another problem is that we found that device compilers do not optimize the memcpy as well as most CPU compilers. Likely, memcpy is used much less frequently on GPU devices.
-
Kenneth Moreland authored
Was using scalar types for `ArrayRangeCompute` for storage of types like Cartesian product. It should be `Vec3` types.
-
- 29 Mar, 2021 2 commits
-
-
Kenneth Moreland authored
eadaf06f Set what string in Error::SetMessage Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Nickolas Davis <nadavi@sandia.gov> Merge-request: !2451
-
Kenneth Moreland authored
`vtkm::cont::Error` inherits from `std::exception`. As such, it has a special `what` string that reports an error message in a standard way. This is particularly useful when a `vtkm::cont::Error` exception remains uncaught because the system will print the `what` string before crashing. Unfortunately, the `what` string was only being set in the `Error` constructor that took a message. That is a problem for subclasses like `ErrorCuda` that used the default constructor and then used `SetMessage`. The `what` string did not get set in this case. Change the behavior to capture the stack trace in the default constructor and update the `what` string if a subclass uses `SetMessage`.
-
- 26 Mar, 2021 1 commit
-
-
Bolea Sanchez, Vicente Adolfo authored
486c5de9 TESTING: Set C++14 as minimum standard for install test Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Li-Ta Lo <ollie@lanl.gov> Merge-request: !2447
-
- 25 Mar, 2021 5 commits
-
-
Bolea Sanchez, Vicente Adolfo authored
Signed-off-by:
Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
-
Yenpure, Abhishek authored
b316cf58 Fix compiler warnings 5f7287bc Removing virtuals from particle advection 2897b7a1 Fix missing include 4c781374 Removing virtuals v1 Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kenneth Moreland <kmorel@acm.org> Merge-request: !2445
-
Kenneth Moreland authored
d1dba170 Do not use volatile when calling CUDA atomicCAS Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2448
-
Kenneth Moreland authored
Although it makes sense to assume a pointer is `volatile` when doing an atomic operation, the arguments to the `atomicCAS` overloads take regular pointers. The overload resolution can fail if you use the `volatile` keyword.
-
Nickolas Davis authored
268e882c raise allowed num of error pixels a bit 78e3cbb5 Move regression test images into subdirs, implement io library support d2545316 Implement additional wireframer rendering regression tests Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kenneth Moreland <kmorel@acm.org> Merge-request: !2442
-
- 24 Mar, 2021 4 commits
-
-
nadavi authored
-
nadavi authored
-
Yenpure, Abhishek authored
-
Yenpure, Abhishek authored
-- Removing virtuals from CellInterpolationHelpers
-
- 23 Mar, 2021 5 commits
-
-
Li-Ta Lo authored
197a9b3f fixed an oversight on the correct way to get CoordinateSystem. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kenneth Moreland <kmorel@acm.org> Merge-request: !2446
-
Li-Ta Lo authored
-
Li-Ta Lo authored
508b992c Merge branch 'particle_density_cic' of gitlab.kitware.com:ollielo/vtk-m into particle_density_cic 056ee726 fixed another copy paste bug f71a01b3 Fixed misunderstanding of tolerance. afe0a3e5 correct uncareful search and replace error b3c6ea39 install ParticleDensityBase.h 7b8cc401 public CUDA 6796b1a4 consolidate two particle density filters 4a22f54b Merge branch 'master' into particle_density_cic ... Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kenneth Moreland <kmorel@acm.org> Merge-request: !2434
-
Yenpure, Abhishek authored
-
Yenpure, Abhishek authored
-- Remove virtuals from Integrators, Fields, Particles -- Remaining virtuals are in the CellInterpolationHelpers
-
- 20 Mar, 2021 1 commit
-
-
Larsen, Matthew authored
292ac2e4 clang is not is_trivially safe 8e588504 Merge branch 'identify_xl' of gitlab.kitware.com:mclarsen/vtk-m into identify_xl 9c539639 Merge remote-tracking branch 'upstream/master' into identify_xl 8d8228f3 correct type in comment 4d7a08c1 add xl compiler identification Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kenneth Moreland <kmorel@acm.org> Merge-request: !2440
-
- 19 Mar, 2021 3 commits