Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Dec 6, 2024
1 parent a203952 commit f16925c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions batched/dense/impl/KokkosBatched_Trsv_Serial_Internal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ KOKKOS_INLINE_FUNCTION int SerialTrsvInternalLower<Algo::Trsv::Blocked>::invoke(

// trsm update
const ValueType *KOKKOS_RESTRICT Ap = A + p * as0 + p * as1;
/**/ ValueType *KOKKOS_RESTRICT bp = b + p * bs0;
/**/ ValueType *KOKKOS_RESTRICT bp = b + p * bs0;

if (use_unit_diag)
trsm_u.serial_invoke(Ap, pb, 1, bp);
Expand Down Expand Up @@ -154,8 +154,8 @@ KOKKOS_INLINE_FUNCTION int SerialTrsvInternalUpper<Algo::Trsv::Unblocked>::invok
for (int p = (m - 1); p >= 0; --p) {
const int iend = p;

const ValueType *KOKKOS_RESTRICT a01 = A + p * as1;
/**/ ValueType *KOKKOS_RESTRICT beta1 = b + p * bs0;
const ValueType *KOKKOS_RESTRICT a01 = A + p * as1;
/**/ ValueType *KOKKOS_RESTRICT beta1 = b + p * bs0;

// with KOKKOS_RESTRICT a compiler assumes that the pointer is not
// accessed by others op(/=) uses this pointer and changes the associated
Expand Down Expand Up @@ -198,7 +198,7 @@ KOKKOS_INLINE_FUNCTION int SerialTrsvInternalUpper<Algo::Trsv::Blocked>::invoke(

// trsm update
const ValueType *KOKKOS_RESTRICT Ap = A + p * as0 + p * as1;
/**/ ValueType *KOKKOS_RESTRICT bp = b + p * bs0;
/**/ ValueType *KOKKOS_RESTRICT bp = b + p * bs0;

if (use_unit_diag)
trsm_u.serial_invoke(Ap, pb, 1, bp);
Expand Down

0 comments on commit f16925c

Please sign in to comment.