diff --git a/packages/intrepid2/src/Projection/Intrepid2_ProjectionTools.hpp b/packages/intrepid2/src/Projection/Intrepid2_ProjectionTools.hpp index 79664a65f089..8b68e8c8082f 100644 --- a/packages/intrepid2/src/Projection/Intrepid2_ProjectionTools.hpp +++ b/packages/intrepid2/src/Projection/Intrepid2_ProjectionTools.hpp @@ -545,11 +545,16 @@ class ProjectionTools { w.data()); // R0^{-1} b -> b +#if KOKKOS_VERSION >= 40599 + KokkosBatched::SerialTrsv::invoke(1.0, A0, b); +#else KokkosBatched::SerialTrsvInternalUpper::invoke(false, A0.extent(0), 1.0, A0.data(), A0.stride_0(), A0.stride_1(), b.data(), b.stride_0()); +#endif //scattering b into the basis coefficients for(ordinal_type i=0; i