Tpetra: Remove `Teuchos::as` call from device kernel
Created by: mhoemmen
See Line 2272 of tpetra/core/ext/TpetraExt_MatrixMatrix_def.hpp
:
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