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

Draft: Fix threaded device allocation

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Kenneth Moreland requested to merge kmorel/vtk-m:threaded-allocation into master Jul 27, 2021
  • Overview 19
  • Commits 2
  • Pipelines 14
  • Changes 5

We are starting to introduce threads in the VTK-m control environment so that we can schedule multiple things at once. Once issue we ran into is that some methods to allocate data on devices are not thread safe. To fix this, we make allocating memory for a Buffer thread safe. This could potentially slow things down waiting for mutexes, but you are hopefully not spending a lot of time allocating/deallocating memory anyway.

Edited Jul 27, 2021 by Kenneth Moreland
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: threaded-allocation