Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 759
    • Issues 759
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 206
    • Merge requests 206
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Merge requests
  • !8629

Multithreading for vtkDataSetAttributes::CopyData + new version

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Yohann Bearzi requested to merge yohann.bearzi/vtk:CopyData-multithreading into master Nov 10, 2021
  • Overview 16
  • Commits 3
  • Pipelines 7
  • Changes 26

This commit multithreads CopyData calls using SMP. A new API is added for CopyData to handle the case where there is an explicit indexing in the source data set attributes and an implicit one in the destination.

Multithreading CopyData required a change to be made in vtkIdList, so one can set its internal array by giving a pointer without giving ownership to vtkIdList to this pointer. A new optional parameter save is added to vtkIdList::SetArray.

In addition, a new vtkAbstractArray::InserTuples is added to allow someone to fill an array starting at some index, and cherry-picking tuples from the source array.

This MR was a part of !8586 (merged)

Edited Nov 11, 2021 by Yohann Bearzi
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: CopyData-multithreading