Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T Trilinos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 936
    • Issues 936
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • James Willenbring
  • Trilinos
  • Issues
  • #3689
Closed
Open
Issue created Oct 21, 2018 by James Willenbring@jmwilleOwner

Xpetra: add getLocalGraph() method to CrsGraph

Created by: lucbv

@trilinos/xpetra

Expectations

The Xpetra::CrsGraph should expose an interface to getLocalGraph() when Tpetra is the underlying algebra package, this will avoid awkward transformation of Kokkos:View into Teaches::ArrayRCP when trying to set all local graph values at once.

Current Behavior

Currently getLocalGraph() is not implemented so the only way to set all the values in a Xpetra::CrstGraph is to use insertLocalIndices() multiple times, using a Teaches::ArrayView to store the indices which is awkward for on device kernels that attempt to fill the local CrsGraph...

Motivation and Context

This prevents good refactor of code in MueLu when the graph structure is computed at once using direct access to pointers stored by the graph.

Definition of Done

The interface to getLocalGraph() is exposed to users.

Possible Solution

Creating a new stub in Xpetra_CrsGraph.hpp guarded by HAVE_XPETRA_KOKKOS_REFACTOR and HAVE_XPETRA_TPETRA.

Assignee
Assign to
Time tracking