Skip to content

Commit

Permalink
Add BsrMatrix SpMV perf test
Browse files Browse the repository at this point in the history
Also adds KokkosSparse::Impl::crs_detect_block_size(), which finds the largest block size in a CrsMatrix that yields only dense blocks.
  • Loading branch information
cwpearson committed Jul 13, 2023
1 parent c11cd33 commit 1ad8757
Show file tree
Hide file tree
Showing 3 changed files with 622 additions and 0 deletions.
4 changes: 4 additions & 0 deletions perf_test/sparse/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,8 @@ if (KokkosKernels_ENABLE_BENCHMARK)
KOKKOSKERNELS_ADD_BENCHMARK(
sparse_spmv_benchmark SOURCES KokkosSparse_spmv_benchmark.cpp
)

KOKKOSKERNELS_ADD_BENCHMARK(
sparse_spmv_bsr_benchmark SOURCES KokkosSparse_spmv_bsr_benchmark.cpp
)
endif()
Loading

0 comments on commit 1ad8757

Please sign in to comment.