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);
}