Skip to content

Commit 39d48d5

Browse files
committed
Applying clang-format
Signed-off-by: Luc Berger-Vergiat <lberge@sandia.gov>
1 parent 26899a2 commit 39d48d5

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

blas/src/KokkosBlas1_rotg.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void rotg(execution_space const& space, SViewType const& a, SViewType const& b,
4545
static_assert(Kokkos::SpaceAccessibility<execution_space, typename MViewType::memory_space>::accessible,
4646
"rotg: execution_space cannot access data in MViewType");
4747
static_assert(!Kokkos::ArithTraits<typename MViewType::value_type>::is_complex,
48-
"rotg: MViewType cannot hold complex values.");
48+
"rotg: MViewType cannot hold complex values.");
4949

5050
using SView_Internal = Kokkos::View<
5151
typename SViewType::value_type, typename KokkosKernels::Impl::GetUnifiedLayout<SViewType>::array_layout,

blas/src/KokkosBlas2_ger.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ void ger(const ExecutionSpace& space, const char trans[], const typename AViewTy
5858
static_assert(static_cast<int>(YViewType::rank) == 1, "ger: YViewType must have rank 1.");
5959

6060
static_assert(std::is_same_v<typename AViewType::value_type, typename AViewType::non_const_value_type>,
61-
"ger: AViewType must store non const values.");
61+
"ger: AViewType must store non const values.");
6262

63-
// Check compatibility of dimensions at run time.
64-
if ((A.extent(0) != x.extent(0)) || (A.extent(1) != y.extent(0))) {
63+
// Check compatibility of dimensions at run time.
64+
if ((A.extent(0) != x.extent(0)) || (A.extent(1) != y.extent(0))) {
6565
std::ostringstream os;
6666
os << "KokkosBlas::ger: Dimensions of A, x, and y do not match: "
6767
<< "A is " << A.extent(0) << " by " << A.extent(1) << ", x has size " << x.extent(0) << ", y has size "

blas/src/KokkosBlas3_trmm.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,10 @@ namespace KokkosBlas {
6666
template <class execution_space, class AViewType, class BViewType>
6767
void trmm(const execution_space& space, const char side[], const char uplo[], const char trans[], const char diag[],
6868
typename BViewType::const_value_type& alpha, const AViewType& A, const BViewType& B) {
69-
static_assert(Kokkos::is_execution_space_v<execution_space>, "trmm: execution_space must be a Kokkos::execution_space.");
70-
static_assert(Kokkos::is_view_v<AViewType>, "trmm: AViewType must be a Kokkos::View.");
69+
static_assert(Kokkos::is_execution_space_v<execution_space>,
70+
"trmm: execution_space must be a Kokkos::execution_space."); static_assert(Kokkos::is_view_v<AViewType>,
71+
"trmm: AViewType must be a "
72+
"Kokkos::View.");
7173
static_assert(Kokkos::is_view_v<BViewType>, "trmm: BViewType must be a Kokkos::View.");
7274
static_assert(static_cast<int>(AViewType::rank) == 2, "trmm: AViewType must have rank 2.");
7375
static_assert(static_cast<int>(BViewType::rank) == 2, "trmm: BViewType must have rank 2.");

0 commit comments

Comments
 (0)