Skip to content

Commit

Permalink
Applying clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
lucbv committed Feb 5, 2024
1 parent 7fdefc9 commit a4e6157
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions lapack/tpls/KokkosLapack_svd_tpl_spec_decl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ void lapackSvdWrapper(const ExecutionSpace& /* space */, const char jobu[],
using VLayout_t = typename VMatrix::array_layout;

static_assert(std::is_same_v<ALayout_t, Kokkos::LayoutLeft>,
"KokkosLapack - svd: A needs to have a Kokkos::LayoutLeft");
"KokkosLapack - svd: A needs to have a Kokkos::LayoutLeft");
static_assert(std::is_same_v<ULayout_t, Kokkos::LayoutLeft>,
"KokkosLapack - svd: U needs to have a Kokkos::LayoutLeft");
"KokkosLapack - svd: U needs to have a Kokkos::LayoutLeft");
static_assert(std::is_same_v<VLayout_t, Kokkos::LayoutLeft>,
"KokkosLapack - svd: Vt needs to have a Kokkos::LayoutLeft");
"KokkosLapack - svd: Vt needs to have a Kokkos::LayoutLeft");

const int m = A.extent_int(0);
const int n = A.extent_int(1);
Expand Down Expand Up @@ -220,11 +220,11 @@ void mklSvdWrapper(const ExecutionSpace& /* space */, const char jobu[],
using VLayout_t = typename VMatrix::array_layout;

static_assert(std::is_same_v<ALayout_t, Kokkos::LayoutLeft>,
"KokkosLapack - svd: A needs to have a Kokkos::LayoutLeft");
"KokkosLapack - svd: A needs to have a Kokkos::LayoutLeft");
static_assert(std::is_same_v<ULayout_t, Kokkos::LayoutLeft>,
"KokkosLapack - svd: U needs to have a Kokkos::LayoutLeft");
"KokkosLapack - svd: U needs to have a Kokkos::LayoutLeft");
static_assert(std::is_same_v<VLayout_t, Kokkos::LayoutLeft>,
"KokkosLapack - svd: Vt needs to have a Kokkos::LayoutLeft");
"KokkosLapack - svd: Vt needs to have a Kokkos::LayoutLeft");

const lapack_int m = A.extent_int(0);
const lapack_int n = A.extent_int(1);
Expand Down Expand Up @@ -378,11 +378,11 @@ void cusolverSvdWrapper(const ExecutionSpace& space, const char jobu[],
using VLayout_t = typename VMatrix::array_layout;

static_assert(std::is_same_v<ALayout_t, Kokkos::LayoutLeft>,
"KokkosLapack - svd: A needs to have a Kokkos::LayoutLeft");
"KokkosLapack - svd: A needs to have a Kokkos::LayoutLeft");
static_assert(std::is_same_v<ULayout_t, Kokkos::LayoutLeft>,
"KokkosLapack - svd: U needs to have a Kokkos::LayoutLeft");
"KokkosLapack - svd: U needs to have a Kokkos::LayoutLeft");
static_assert(std::is_same_v<VLayout_t, Kokkos::LayoutLeft>,
"KokkosLapack - svd: Vt needs to have a Kokkos::LayoutLeft");
"KokkosLapack - svd: Vt needs to have a Kokkos::LayoutLeft");

const int m = A.extent_int(0);
const int n = A.extent_int(1);
Expand Down Expand Up @@ -541,11 +541,11 @@ void rocsolverSvdWrapper(const ExecutionSpace& space, const char jobu[],
using VLayout_t = typename VMatrix::array_layout;

static_assert(std::is_same_v<ALayout_t, Kokkos::LayoutLeft>,
"KokkosLapack - svd: A needs to have a Kokkos::LayoutLeft");
"KokkosLapack - svd: A needs to have a Kokkos::LayoutLeft");
static_assert(std::is_same_v<ULayout_t, Kokkos::LayoutLeft>,
"KokkosLapack - svd: U needs to have a Kokkos::LayoutLeft");
"KokkosLapack - svd: U needs to have a Kokkos::LayoutLeft");
static_assert(std::is_same_v<VLayout_t, Kokkos::LayoutLeft>,
"KokkosLapack - svd: Vt needs to have a Kokkos::LayoutLeft");
"KokkosLapack - svd: Vt needs to have a Kokkos::LayoutLeft");

const rocblas_int m = A.extent_int(0);
const rocblas_int n = A.extent_int(1);
Expand Down

0 comments on commit a4e6157

Please sign in to comment.