vtk-m/vtkm/exec
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
..
arg Remove testing headers from benchmarking 2021-06-10 09:41:26 -06:00
cuda Enable shared CUDA builds when not compiling virtuals 2021-08-24 13:14:58 -04:00
internal cmake: avoid adding testing directories if testing is disabled 2021-06-01 18:40:40 -04:00
kokkos Add Kokkos backend 2020-08-12 13:55:24 -04:00
openmp cmake: avoid adding testing directories if testing is disabled 2021-06-01 18:40:40 -04:00
serial cmake: avoid adding testing directories if testing is disabled 2021-06-01 18:40:40 -04:00
tbb cmake: avoid adding testing directories if testing is disabled 2021-06-01 18:40:40 -04:00
testing Fix divide-by-zero in UnitTestCellInterpolate 2021-07-12 10:29:46 -06:00
AtomicArrayExecutionObject.h Add floating point atomics 2021-03-11 08:19:51 -07:00
BoundaryState.h Optimize StructuredPointGradient for non boundary points. 2020-05-22 14:58:38 -04:00
CellDerivative.h Remove some unneeded include statements from vtkm/exec 2020-06-22 09:28:51 -04:00
CellEdge.h Remove some unneeded include statements from vtkm/exec 2020-06-22 09:28:51 -04:00
CellFace.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
CellInside.h Switch from VTK-c to LCL 2019-10-07 15:38:36 -04:00
CellInterpolate.h Remove some unneeded include statements from vtkm/exec 2020-06-22 09:28:51 -04:00
CellLocator.h Completely deprecate virtual methods 2021-04-28 07:28:32 -06:00
CellLocatorBoundingIntervalHierarchy.h Support deprecated behavior of point locator pointers 2021-02-18 13:11:54 -07:00
CellLocatorMultiplexer.h Support deprecated behavior of point locator pointers 2021-02-18 13:11:54 -07:00
CellLocatorRectilinearGrid.h Support deprecated behavior of point locator pointers 2021-02-18 13:11:54 -07:00
CellLocatorTwoLevel.h Add padding to Grid struct in CellLocatorTwoLevel 2021-03-30 12:59:07 -06:00
CellLocatorUniformGrid.h Support deprecated behavior of point locator pointers 2021-02-18 13:11:54 -07:00
CellMeasure.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
ColorTable.h Remove virtual methods from ColorTable 2020-09-14 13:26:16 -06:00
ColorTable.hxx Fix warning about return value 2020-09-14 15:04:03 -06:00
ConnectivityExplicit.h Refactor CellSetExplicit to remove NumIndices. 2019-09-30 12:27:13 -04:00
ConnectivityExtrude.h Update CellSetExtrude to not specify exec types by device 2021-02-08 16:57:16 -07:00
ConnectivityPermuted.h Make connectivity structures trivially copyable 2021-03-30 12:59:07 -06:00
ConnectivityStructured.h Make connectivity structures trivially copyable 2021-03-30 12:59:07 -06:00
ExecutionWholeArray.h Make ExecutionWholeArray objects not depend on device type 2021-02-09 19:16:51 -07:00
FieldNeighborhood.h Add CellNeighborhood 2020-07-15 14:41:32 -06:00
FunctorBase.h Always export VTK-m functor symbols 2019-08-01 12:53:54 -04:00
ParametricCoordinates.h Make sure return value of cell operations is initialized 2020-03-14 00:24:13 -06:00
PointLocator.h Completely deprecate virtual methods 2021-04-28 07:28:32 -06:00
PointLocatorSparseGrid.h Support deprecated behavior of point locator pointers 2021-02-18 13:11:54 -07:00
TaskBase.h conslidate the license statement 2019-04-17 10:57:13 -06:00