Make sure PointLocatorUniformGrid always uses the provided device adapter

This commit is contained in:
Robert Maynard 2018-05-11 17:09:17 -04:00
parent 74df09fbe0
commit 30205be832

@ -183,7 +183,8 @@ public:
// bin points into cells and give each of them the cell id.
BinPointsWorklet cellIdWorklet(Min, Max, Dims);
vtkm::worklet::DispatcherMapField<BinPointsWorklet> dispatchCellId(cellIdWorklet);
vtkm::worklet::DispatcherMapField<BinPointsWorklet, DeviceAdapter> dispatchCellId(
cellIdWorklet);
dispatchCellId.Invoke(coords, CellIds);
// Group points of the same cell together by sorting them according to the cell ids