Skip to content

Commit

Permalink
Applying clang-format
Browse files Browse the repository at this point in the history
Signed-off-by: Luc Berger-Vergiat <lberge@sandia.gov>
  • Loading branch information
lucbv committed Oct 28, 2024
1 parent e6bfaed commit 5663b8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sparse/src/KokkosSparse_IOUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ void kk_sparseMatrix_generate(OrdinalType nrows, OrdinalType ncols, SizeType &nn
}
// Sample each value from uniform (-50, 50) for real types, or (-50 - 50i, 50
// + 50i) for complex types.
Kokkos::View<ScalarType *, Kokkos::HostSpace> valuesView(values, nnz * static_cast<typename Kokkos::View<ScalarType *, Kokkos::HostSpace>::size_type>(block_elem_count));
Kokkos::View<ScalarType *, Kokkos::HostSpace> valuesView(
values, nnz * static_cast<typename Kokkos::View<ScalarType *, Kokkos::HostSpace>::size_type>(block_elem_count));
ScalarType randStart, randEnd;
KokkosKernels::Impl::getRandomBounds(50.0, randStart, randEnd);
Kokkos::Random_XorShift64_Pool<Kokkos::DefaultHostExecutionSpace> pool(13718);
Expand Down

0 comments on commit 5663b8f

Please sign in to comment.