mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 10:35:42 +00:00
Make sure PointLocatorUniformGrid always uses the provided device adapter
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user