2222// / \author Yuuichi Asahi (yuuichi.asahi@cea.fr)
2323
2424namespace KokkosBatched {
25+ namespace Impl {
2526
2627template <typename AViewType, typename XViewType>
2728KOKKOS_INLINE_FUNCTION static int checkPbtrsInput ([[maybe_unused]] const AViewType &A,
@@ -46,6 +47,7 @@ KOKKOS_INLINE_FUNCTION static int checkPbtrsInput([[maybe_unused]] const AViewTy
4647#endif
4748 return 0 ;
4849}
50+ } // namespace Impl
4951
5052// // Lower ////
5153template <>
@@ -54,12 +56,12 @@ struct SerialPbtrs<Uplo::Lower, Algo::Pbtrs::Unblocked> {
5456 KOKKOS_INLINE_FUNCTION static int invoke (const AViewType &A, const XViewType &x) {
5557 // Quick return if possible
5658 if (A.extent (1 ) == 0 ) return 0 ;
57- auto info = checkPbtrsInput (A, x);
59+ auto info = KokkosBatched::Impl:: checkPbtrsInput (A, x);
5860 if (info) return info;
5961
6062 const int kd = A.extent (0 ) - 1 ;
61- return SerialPbtrsInternalLower<Algo::Pbtrs::Unblocked>::invoke (A. extent ( 1 ), x. extent ( 0 ), A. data (), A. stride_0 (),
62- A.stride_1 (), x.data (), x.stride_0 (), kd);
63+ return KokkosBatched::Impl:: SerialPbtrsInternalLower<Algo::Pbtrs::Unblocked>::invoke (
64+ A. extent ( 1 ), x. extent ( 0 ), A. data (), A. stride_0 (), A.stride_1 (), x.data (), x.stride_0 (), kd);
6365 }
6466};
6567
@@ -70,12 +72,12 @@ struct SerialPbtrs<Uplo::Upper, Algo::Pbtrs::Unblocked> {
7072 KOKKOS_INLINE_FUNCTION static int invoke (const AViewType &A, const XViewType &x) {
7173 // Quick return if possible
7274 if (A.extent (1 ) == 0 ) return 0 ;
73- auto info = checkPbtrsInput (A, x);
75+ auto info = KokkosBatched::Impl:: checkPbtrsInput (A, x);
7476 if (info) return info;
7577
7678 const int kd = A.extent (0 ) - 1 ;
77- return SerialPbtrsInternalUpper<Algo::Pbtrs::Unblocked>::invoke (A. extent ( 1 ), x. extent ( 0 ), A. data (), A. stride_0 (),
78- A.stride_1 (), x.data (), x.stride_0 (), kd);
79+ return KokkosBatched::Impl:: SerialPbtrsInternalUpper<Algo::Pbtrs::Unblocked>::invoke (
80+ A. extent ( 1 ), x. extent ( 0 ), A. data (), A. stride_0 (), A.stride_1 (), x.data (), x.stride_0 (), kd);
7981 }
8082};
8183
0 commit comments