Commit 8a9deea0 authored by Allison Vacanti's avatar Allison Vacanti

Fix warnings on CUDA 10.

parent 4b59681c
......@@ -46,7 +46,8 @@ struct ExplicitRConnToConn
{
OffsetsPortal Offsets;
VTKM_CONT
VTKM_SUPPRESS_EXEC_WARNINGS
VTKM_EXEC_CONT
OffsetsModifier(const OffsetsPortal& offsets = OffsetsPortal{})
: Offsets(offsets)
{
......
......@@ -44,15 +44,19 @@ public:
vtkArrayPortal(VTKDataArrayType* array, vtkm::Id size);
VTKM_SUPPRESS_EXEC_WARNINGS
VTKM_EXEC_CONT
vtkm::Id GetNumberOfValues() const
{
return this->Size;
}
VTKM_SUPPRESS_EXEC_WARNINGS
VTKM_EXEC
VTKM_EXEC_CONT
inline ValueType Get(vtkm::Id index) const;
VTKM_SUPPRESS_EXEC_WARNINGS
VTKM_EXEC_CONT
inline void Set(vtkm::Id index, const ValueType& value) const;
typedef vtkm::cont::internal::IteratorFromArrayPortal<vtkArrayPortal>
......@@ -90,15 +94,19 @@ public:
vtkPointsPortal(vtkPoints* points, vtkm::Id size);
VTKM_SUPPRESS_EXEC_WARNINGS
VTKM_EXEC_CONT
vtkm::Id GetNumberOfValues() const
{
return this->Size;
}
VTKM_SUPPRESS_EXEC_WARNINGS
VTKM_EXEC
VTKM_EXEC_CONT
inline ValueType Get(vtkm::Id index) const;
VTKM_SUPPRESS_EXEC_WARNINGS
VTKM_EXEC_CONT
inline void Set(vtkm::Id index, const ValueType& value) const;
typedef vtkm::cont::internal::IteratorFromArrayPortal<vtkPointsPortal>
......
Subproject commit 8d0f441e1b391c6ec4c2662ee1454d8c901733fb
Subproject commit 16c4dde2ee2a19a0278473fed03c852482006a6e
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment