Skip to content

Commit eb293cf

Browse files
committed
formating
1 parent 9639ff8 commit eb293cf

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

sparse/impl/KokkosSparse_sptrsv_solve_impl.hpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,10 @@ struct SptrsvWrap {
169169
KOKKOS_INLINE_FUNCTION void solve_impl(const member_type *team,
170170
const int my_rank,
171171
const long node_count) const {
172-
static_assert(! ((!IsSerial && BlockEnabled) && UseThreadVec),
173-
"ThreadVectorRanges are not yet supported for block-enabled");
174-
static_assert(! (IsSerial && UseThreadVec),
172+
static_assert(
173+
!((!IsSerial && BlockEnabled) && UseThreadVec),
174+
"ThreadVectorRanges are not yet supported for block-enabled");
175+
static_assert(!(IsSerial && UseThreadVec),
175176
"Requested thread vector range in serial?");
176177

177178
const auto rowid = nodes_grouped_by_level(my_rank + node_count);
@@ -1091,7 +1092,7 @@ struct SptrsvWrap {
10911092
const auto hnodes_per_level = thandle.get_host_nodes_per_level();
10921093
const auto nodes_grouped_by_level = thandle.get_nodes_grouped_by_level();
10931094
const auto block_size = thandle.get_block_size();
1094-
const auto block_enabled = false; // thandle.is_block_enabled();
1095+
const auto block_enabled = false; // thandle.is_block_enabled();
10951096
assert(block_size == 0);
10961097

10971098
// Set up functor types
@@ -1489,7 +1490,7 @@ struct SptrsvWrap {
14891490
auto hnodes_per_level = thandle.get_host_nodes_per_level();
14901491
auto nodes_grouped_by_level = thandle.get_nodes_grouped_by_level();
14911492
const auto block_size = thandle.get_block_size();
1492-
const auto block_enabled = false; // thandle.is_block_enabled();
1493+
const auto block_enabled = false; // thandle.is_block_enabled();
14931494
assert(block_size == 0);
14941495

14951496
// Set up functor types

sparse/unit_test/Test_Sparse_sptrsv.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ struct SptrsvTest {
103103
return A;
104104
}
105105

106-
static bool do_cusparse()
107-
{
106+
static bool do_cusparse() {
108107
#ifdef KOKKOSKERNELS_ENABLE_TPL_CUSPARSE
109-
return (std::is_same<size_type, int>::value &&
110-
std::is_same<lno_t, int>::value &&
111-
std::is_same<typename device::execution_space, Kokkos::Cuda>::value);
108+
return (
109+
std::is_same<size_type, int>::value &&
110+
std::is_same<lno_t, int>::value &&
111+
std::is_same<typename device::execution_space, Kokkos::Cuda>::value);
112112
#else
113113
return false;
114114
#endif

0 commit comments

Comments
 (0)