vtk-m/vtkm
Vicente Adolfo Bolea Sanchez 738c05ae87 fixes OMP reduction when using OMP_NUM_THREADS lt 4
This fixes, which where triggered since in the new CI, one of the
docker runner set `OMP_NUM_THREADS=3`:

1. `UnitTestOpenMPDeviceAdapter`
2. `UnitTestMeshQualityFilter`

In the redution optimized implementation for _OpenMP_, it unrolls
the reduce loop in iterations of four elements. The last iteration
in the loop might overflow the loop end element (when it is not a
multiple of four).

This commit fixes this by setting the OpenMP unrolled reduce loop
end element to its previous closest multiple of four of the original end
element.

Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2020-04-22 20:14:34 -04:00
..
cont fixes OMP reduction when using OMP_NUM_THREADS lt 4 2020-04-22 20:14:34 -04:00
exec CellMetrics return vtkm::ErrorCode instead of raising errors 2020-04-16 17:27:42 -04:00
filter Merge topic 'add_gitlab_ci' 2020-03-26 15:39:28 -04:00
internal Properly handle Get(Id3) in ArrayPortalCheck 2020-03-18 10:51:20 -06:00
interop Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
io Fix warning. 2020-03-26 12:12:54 -04:00
random tried to supress warning about type punning 2020-03-23 15:03:57 -06:00
rendering Image was upside down; flip it over, demo usage. 2020-04-17 07:56:03 -04:00
source Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
testing Add vtkmstd::integer_sequence 2020-03-16 17:12:16 -06:00
thirdparty Remove tao tuple from third party libraries 2020-03-16 17:12:17 -06:00
worklet CellMetrics return vtkm::ErrorCode instead of raising errors 2020-04-16 17:27:42 -04:00
.gitattributes diy 2019-04-09 (f7a68da4) 2019-04-09 11:42:54 -04:00
Algorithms.h Add vtkm/Algorithms.h header with device-friendly binary search algorithms. 2019-12-20 12:35:10 -05:00
Assert.h Add ability to attach token to general ArrayHandle 2020-02-25 07:41:37 -07:00
BinaryOperators.h Make BinaryOperators/Predicates more flexible. 2019-12-18 15:51:59 -05:00
BinaryPredicates.h Make BinaryOperators/Predicates more flexible. 2019-12-18 15:51:59 -05:00
Bitset.h Add the gcc 4.8.5 release date to our VTKM_USING_GLIBCXX_4 check 2019-12-17 10:07:56 -05:00
Bounds.h Update VTK-m code to use new Vec aliases 2019-07-31 12:55:40 -06:00
CellClassification.h GhostCellClassify now more efficient as it uses WorkletPointNeighborhood 2019-09-11 10:06:45 -04:00
CellShape.h Avoid raising errors when operating on cells 2020-03-12 07:50:01 -06:00
CellTraits.h Support for polylines. 2019-05-17 13:35:35 -04:00
CMakeLists.txt Merge branch 'master' into philox 2020-03-23 08:28:02 -06:00
Deprecated.h CUDA doesn't like [[deprecated]] when applied to typedefs 2020-03-31 14:56:49 -04:00
ErrorCode.h CellMetrics return vtkm::ErrorCode instead of raising errors 2020-04-16 17:27:42 -04:00
Flags.h conslidate the license statement 2019-04-17 10:57:13 -06:00
Geometry.h conslidate the license statement 2019-04-17 10:57:13 -06:00
Geometry.hxx conslidate the license statement 2019-04-17 10:57:13 -06:00
Hash.h conslidate the license statement 2019-04-17 10:57:13 -06:00
ImplicitFunction.h Corrections and expanded testing of implicit functions 2019-08-15 17:25:41 -06:00
List.h Remove std::conditional from List.h 2020-01-09 09:11:26 -07:00
ListTag.h silenced doxygen unsupported c++ syntax 2020-03-23 19:55:46 -04:00
Math.h FindFirstSetBit now correctly compiles with the Intel compiler 2019-05-08 15:48:58 -04:00
Math.h.in FindFirstSetBit now correctly compiles with the Intel compiler 2019-05-08 15:48:58 -04:00
Matrix.h Add recursive component queries to VecTraits 2019-09-09 08:19:15 -06:00
NewtonsMethod.h conslidate the license statement 2019-04-17 10:57:13 -06:00
Pair.h conslidate the license statement 2019-04-17 10:57:13 -06:00
Particle.h Correct warnings found by gcc-9 in vtkm::Particle 2020-01-01 08:46:40 -05:00
Range.h ExtractStructured now compiles quicker and with less compiler memory 2019-12-11 08:59:42 -05:00
RangeId2.h ExtractStructured now compiles quicker and with less compiler memory 2019-12-11 08:59:42 -05:00
RangeId3.h ExtractStructured now compiles quicker and with less compiler memory 2019-12-11 08:59:42 -05:00
RangeId.h ExtractStructured now compiles quicker and with less compiler memory 2019-12-11 08:59:42 -05:00
StaticAssert.h Add the gcc 4.8.5 release date to our VTKM_USING_GLIBCXX_4 check 2019-12-17 10:07:56 -05:00
Swap.h conslidate the license statement 2019-04-17 10:57:13 -06:00
TopologyElementTag.h conslidate the license statement 2019-04-17 10:57:13 -06:00
Transform3D.h conslidate the license statement 2019-04-17 10:57:13 -06:00
Tuple.h Make Tuple class 2020-03-16 17:12:16 -06:00
Tuple.h.in Make Tuple class 2020-03-16 17:12:16 -06:00
TypeList.h Enable changing policy used for library compiles 2020-03-19 15:07:07 -06:00
TypeListTag.h Merge topic 'modify-default-policy' 2020-03-24 12:17:23 -04:00
Types.h Using C++11 integer types 2020-03-09 17:53:12 -06:00
TypeTraits.h conslidate the license statement 2019-04-17 10:57:13 -06:00
UnaryPredicates.h conslidate the license statement 2019-04-17 10:57:13 -06:00
VecAxisAlignedPointCoordinates.h Add recursive component queries to VecTraits 2019-09-09 08:19:15 -06:00
VecFromPortal.h Add recursive component queries to VecTraits 2019-09-09 08:19:15 -06:00
VecFromPortalPermute.h Add recursive component queries to VecTraits 2019-09-09 08:19:15 -06:00
VecFromVirtPortal.h conslidate the license statement 2019-04-17 10:57:13 -06:00
VectorAnalysis.h Corrections and expanded testing of implicit functions 2019-08-15 17:25:41 -06:00
VecTraits.h Correct a regression in ArrayHandleDecorator with VisualStudio 2017 2019-09-19 18:35:20 -04:00
VecVariable.h Add recursive component queries to VecTraits 2019-09-09 08:19:15 -06:00
Version.h.in conslidate the license statement 2019-04-17 10:57:13 -06:00
VirtualObjectBase.h conslidate the license statement 2019-04-17 10:57:13 -06:00