Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T Trilinos
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • 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
  • #2334

Closed
Open
Created Mar 05, 2018 by James Willenbring@jmwilleMaintainer

Tpetra: Remove `Teuchos::as` call from device kernel

Created by: mhoemmen

See Line 2272 of tpetra/core/ext/TpetraExt_MatrixMatrix_def.hpp:

https://github.com/trilinos/Trilinos/blob/ecd9196b7f185a50a88fa3e0a33df293b723b95d/packages/tpetra/core/ext/TpetraExt_MatrixMatrix_def.hpp#L2272

Teuchos::as is host only. The call likely only builds because of compiler inlining. In some configurations, though, Teuchos::as throws on overflow. Throwing exceptions is forbidden in CUDA device code. See my comment here: https://github.com/trilinos/Trilinos/pull/2332/files#r172092273

@trilinos/tpetra

Assignee
Assign to
Time tracking