mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 10:35:42 +00:00
Clear all swap data for hierarchical augmenter
This commit is contained in:
parent
9a9b7a6ec0
commit
15934cd621
@ -977,6 +977,13 @@ VTKM_CONT void ContourTreeUniformDistributed::DoPostExecute(
|
||||
assigner,
|
||||
partners,
|
||||
vtkm::worklet::contourtree_distributed::HierarchicalAugmenterFunctor<FieldType>{});
|
||||
// Clear all swap data as it is no longer needed
|
||||
master.foreach (
|
||||
[](vtkm::worklet::contourtree_distributed::DistributedContourTreeBlockData<FieldType>*
|
||||
blockData,
|
||||
const vtkmdiy::Master::ProxyWithLink&) {
|
||||
blockData->HierarchicalAugmenter.ReleaseSwapArrays();
|
||||
});
|
||||
|
||||
timingsStream << " " << std::setw(38) << std::left << "Retrieve In Attachment Points"
|
||||
<< ": " << timer.GetElapsedTime() << " seconds" << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user