Skip to content

Commit

Permalink
Remove BlockCrsMatrix
Browse files Browse the repository at this point in the history
The suggested replacement is BsrMatrix, which is more compatible with
TPLs.

* perf_test/sparse: remove sparse_spmv_blockcrs perf test. Use BSR in
block PCG perf test.
* scripts/analysis: remove BlockCrsMatrix processing code
* perf_test/batched: remove BlockCrs tests
* src/CMakeLists: remove ETI for BlockCrsMatrix SpMV and SpMM
* src/batched: remove BlockCrs Tests
* src/impl/generated_specializations: remove BlockCrsMatrix SpMV and SpMM
* src/impl/TPLs: remove BlockCrsMatrix SpMV
* src/sparse: remove BlockCrsMatrix class. Remove BlockCrsMatrix
references in utils. Dramatically simplify creating BSR from
properly-formatted CRS. Remove BlockCrsMatrix SpMV interface
  • Loading branch information
cwpearson committed Sep 12, 2022
1 parent 42c96f2 commit 4f1bc18
Show file tree
Hide file tree
Showing 30 changed files with 175 additions and 7,752 deletions.
133 changes: 0 additions & 133 deletions perf_test/batched/KokkosBatched_Test_BlockCrs_Cuda.cpp

This file was deleted.

120 changes: 0 additions & 120 deletions perf_test/batched/KokkosBatched_Test_BlockCrs_Host.cpp

This file was deleted.

43 changes: 0 additions & 43 deletions perf_test/batched/scripts/test-bcrs.sh

This file was deleted.

4 changes: 0 additions & 4 deletions perf_test/sparse/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ IF (KOKKOSKERNELS_ENABLE_TPL_CUSPARSE)
)
ENDIF ()

KOKKOSKERNELS_ADD_EXECUTABLE(
sparse_spmv_blockcrs
SOURCES KokkosSparse_spmv_blockcrs.cpp
)

KOKKOSKERNELS_ADD_EXECUTABLE(
sparse_spmv_bsr
Expand Down
4 changes: 2 additions & 2 deletions perf_test/sparse/KokkosSparse_block_pcg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ void run_experiment(
// typedef typename lno_nnz_view_t::value_type lno_t;
// typedef typename lno_view_t::value_type size_type;
// typedef typename scalar_view_t::value_type scalar_t;
KokkosSparse::Impl::kk_create_blockcrs_formatted_point_crsmatrix(
KokkosSparse::Impl::kk_create_bsr_formated_point_crsmatrix(
block_size, crsmat.numRows(), crsmat.numCols(), crsmat.graph.row_map,
crsmat.graph.entries, crsmat.values, out_r, out_c, pf_rm, pf_e, pf_v);

Expand All @@ -349,7 +349,7 @@ void run_experiment(
scalar_view_t bf_v;
size_t but_r, but_c;

KokkosSparse::Impl::kk_create_blockcrs_from_blockcrs_formatted_point_crs(
KokkosSparse::Impl::kk_create_bsr_from_bsr_formatted_point_crs(
block_size, out_r, out_c, pf_rm, pf_e, pf_v, but_r, but_c, bf_rm, bf_e,
bf_v);

Expand Down
Loading

0 comments on commit 4f1bc18

Please sign in to comment.