Add missing VTKM_EXEC_CONT declarations to functor

This commit is contained in:
Gunther H. Weber 2021-02-18 16:01:45 -08:00
parent 10ea36bb95
commit ebb265ce03

@ -88,14 +88,14 @@ public:
Portal2Type ThisGlobalMeshIndex;
Portal3Type OtherGlobalMeshIndex;
vtkm::Id GetGlobalMeshIndex(vtkm::Id idx) const
VTKM_EXEC_CONT inline vtkm::Id GetGlobalMeshIndex(vtkm::Id idx) const
{
return vtkm::worklet::contourtree_augmented::IsThis(idx)
? this->ThisGlobalMeshIndex.Get(MaskedIndex(idx))
: this->OtherGlobalMeshIndex.Get(MaskedIndex(idx));
}
vtkm::Id operator()(vtkm::Id i) const
VTKM_EXEC_CONT vtkm::Id operator()(vtkm::Id i) const
{
vtkm::Id currGlobalIdx = this->GetGlobalMeshIndex(this->OverallSortOrderPortal.Get(i));
vtkm::Id nextGlobalIdx = this->GetGlobalMeshIndex(this->OverallSortOrderPortal.Get(i + 1));