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
  • #2524

Closed
Open
Created Apr 10, 2018 by James Willenbring@jmwilleMaintainer

TEUCHOS_UNREACHABLE_RETURN(Teuchos::null) still throws a warning in cuda.

Created by: bathmatt

Even with this call at the end of a function I get warnings in cuda. Not sure on the magic that is needed but ...

/home/mbetten/Trilinos/EMPIRE/src/PIC/InjectionBCs.hpp(289): warning: missing return statement at end of non-void function "empire::pic::createInjectionBC(const empire::pic::ElementalParticleData<MESH_TRAITS> &, const Teuchos::RCP<panzer::UniqueGlobalIndexerBase> &, const panzer_stk::STK_Interface &, const std::__cxx11::string &, const Teuchos::ParameterList &) [with MESH_TRAITS=empire::TetSecondOrder]"

but this is the end of that function

  TEUCHOS_UNREACHABLE_RETURN(Teuchos::null);
}

Assignee
Assign to
Time tracking