From cb829e83ce0ab9bc461ad0ba12dc2f97d1ecfa93 Mon Sep 17 00:00:00 2001 From: Tushar Athawale Date: Fri, 4 Feb 2022 11:43:00 -0500 Subject: [PATCH] tut_point_to_cell update --- tutorial/tut_point_to_cell.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorial/tut_point_to_cell.cxx b/tutorial/tut_point_to_cell.cxx index eb51e2e2c..c5614ec14 100644 --- a/tutorial/tut_point_to_cell.cxx +++ b/tutorial/tut_point_to_cell.cxx @@ -28,7 +28,8 @@ struct ConvertPointFieldToCells : vtkm::worklet::WorkletVisitCellsWithPoints using InputDomain = _1; template - void operator()(const InPointFieldVecType& inPointFieldVec, OutCellFieldType& outCellField) const + VTKM_EXEC void operator()(const InPointFieldVecType& inPointFieldVec, + OutCellFieldType& outCellField) const { vtkm::IdComponent numPoints = inPointFieldVec.GetNumberOfComponents();