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();