vtk-m2/vtkm
Vicente Adolfo Bolea Sanchez d348b11183 Enable shared CUDA builds when not compiling virtuals
The reason why we did not support shared libraries when CUDA compiles
were on is that virtual methods require a special linking step to pull
together all virtual methods that might be called. I other words, you
cannot call a virtual CUDA method defined inside a library. This
requirement goes away when virtuals are removed.

Also removed the necessity of using seprable compilation with cuda.
Again, this is only needed when a CUDA function is defined in one
translation unit and used in another. Now we can enforce that all
translation units define their own CUDA functions.

Also, suppress warnings in cuda/internal/ExecutionPolicy.h

This is where we call the thrust algorithms. There must be some loop
where it, on some code path, calls back a host function. This must be in
an execution path that never happens. The thrust version has its own
suppress, but that does not seem to actually suppress the warning (it
just means that the warning does not tell you where the actual call is).

Get around the problem by suppressing the warnings in VTK-m.

Co-authored-by: Kenneth Moreland <morelandkd@ornl.gov>
Co-authored-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>

Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2021-08-24 13:14:58 -04:00
..
cont KOKKOS: resolved issue with KOKKOS_LAMBDA 2021-08-24 13:14:58 -04:00
exec Enable shared CUDA builds when not compiling virtuals 2021-08-24 13:14:58 -04:00
filter Filters: Add cmake instantiations generator 2021-08-14 13:39:53 -04:00
internal CI: Remove warnings of CUDA & use attributes 2021-08-12 19:20:02 -04:00
interop Fix cuda-opengl interop 2021-07-12 10:32:44 -04:00
io Fix VTKDataSetWriter writing char types 2021-08-06 09:58:26 -04:00
random cmake: avoid adding testing directories if testing is disabled 2021-06-01 18:40:40 -04:00
rendering Avoid divide by zero in rendering TriangleIntersections 2021-07-12 11:23:24 -06:00
source cmake: avoid adding testing directories if testing is disabled 2021-06-01 18:40:40 -04:00
testing Disable floating point exception traps when testing NaNs 2021-07-12 10:29:45 -06:00
thirdparty diy: update tag 2021-06-01 10:33:46 -04:00
worklet Merge topic 'fix_smallstep_advection' 2021-08-04 07:10:35 -04:00
.gitattributes
Algorithms.h Deprecate vtkm/BinarySearch.h, it is unused and similar to LowerBound 2021-04-07 19:10:28 +00:00
Assert.h Disable VTKM_ASSERT when using HIP 2020-09-25 11:06:57 -04:00
Atomic.h Do not use volatile when calling CUDA atomicCAS 2021-03-25 10:11:44 -06: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 unittest for particlearraycopy 2020-06-18 15:45:36 -04:00
Bounds.h
CellClassification.h GhostCellClassify now more efficient as it uses WorkletPointNeighborhood 2019-09-11 10:06:45 -04:00
CellShape.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
CellTraits.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
CMakeLists.txt cmake: avoid adding testing directories if testing is disabled 2021-06-01 18:40:40 -04:00
Deprecated.h Disable deprecation for MSVC 2017 2021-04-26 12:47:44 -06:00
ErrorCode.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
Flags.h
Geometry.h
Geometry.hxx Update vtkm/Geometry.hxx to follow clangs rules on function markup 2020-09-25 09:37:46 -04:00
Hash.h
ImplicitFunction.h Completely deprecate virtual methods 2021-04-28 07:28:32 -06:00
List.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
ListTag.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
LowerBound.h split vtkm/Algorithms.h into UpperBound.h, LowerBound.h, and BinarySearch.h 2021-04-07 18:53:09 +00:00
Math.h Remove recursion from FloatDistance 2021-08-02 09:50:41 -06:00
Math.h.in Remove recursion from FloatDistance 2021-08-02 09:50:41 -06:00
Matrix.h Break LUP factorization when invalid matrix found 2021-07-12 10:29:46 -06:00
NewtonsMethod.h
Pair.h
Particle.h Make sure to #include<ostream> 2021-04-15 09:19:55 -04: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 clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
Swap.h vtkm/Swap works with hip 2020-10-22 15:32:06 -04:00
TopologyElementTag.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
Transform3D.h
Tuple.h Update vtk-m doxygen to generate less warnings 2020-06-01 16:58:32 -04:00
Tuple.h.in Update doxygen comments in Tuple.h.in 2020-06-03 09:22:48 -06:00
TypeList.h Enable reinterpreting UnknownArrayHandle to compatible C types 2021-01-13 09:19:27 -07:00
TypeListTag.h Merge topic 'modify-default-policy' 2020-03-24 12:17:23 -04:00
Types.h Allow for different types in basic type operators 2021-03-03 09:39:45 -07:00
TypeTraits.h Add implementation of ArrayRangeCompute for UnknownArrayHandle 2021-02-17 09:18:31 -07:00
UnaryPredicates.h
UpperBound.h split vtkm/Algorithms.h into UpperBound.h, LowerBound.h, and BinarySearch.h 2021-04-07 18:53:09 +00:00
VecAxisAlignedPointCoordinates.h Add VecFlat class 2020-12-16 17:22:44 -07:00
VecFlat.h Fix warning in VecFlat 2020-12-17 13:39:02 -07: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
VectorAnalysis.h Avoid floating point exception in Orthonormalize 2021-07-12 10:29:46 -06:00
VecTraits.h Add ability to convert fields to known types 2021-08-19 07:10:20 -06:00
VecVariable.h Generalize fields for particle advection 2020-07-20 21:15:46 -04:00
Version.h.in
VirtualObjectBase.h Completely deprecate virtual methods 2021-04-28 07:28:32 -06:00