Skip to content

Commit

Permalink
sparse: Remove csc2csr copy by reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
e10harvey committed Mar 28, 2022
1 parent 6cf17d0 commit abfc89a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/sparse/KokkosSparse_csc2csr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,21 +132,21 @@ class Csc2Csr {
OrdinalType __nrows;
OrdinalType __ncols;
SizeType __nnz;
ValViewType &__vals;
CrsValsViewType &__crs_vals;
RowIdViewType &__row_ids;
CrsRowMapViewType &__crs_row_map;
CrsRowMapViewType &__crs_row_map_scratch;
ColMapViewType &__col_map;
CrsColIdViewType &__crs_col_ids;
RowIdViewType &__crs_row_cnt;
ValViewType __vals;
CrsValsViewType __crs_vals;
RowIdViewType __row_ids;
CrsRowMapViewType __crs_row_map;
CrsRowMapViewType __crs_row_map_scratch;
ColMapViewType __col_map;
CrsColIdViewType __crs_col_ids;
RowIdViewType __crs_row_cnt;

public:
__Functor(OrdinalType nrows, OrdinalType ncols, SizeType nnz,
ValViewType &vals, CrsValsViewType &crs_vals,
RowIdViewType &row_ids, CrsRowMapViewType &crs_row_map,
CrsRowMapViewType &crs_row_map_scratch, ColMapViewType &col_map,
CrsColIdViewType &crs_col_ids, RowIdViewType &crs_row_cnt)
ValViewType vals, CrsValsViewType crs_vals, RowIdViewType row_ids,
CrsRowMapViewType crs_row_map,
CrsRowMapViewType crs_row_map_scratch, ColMapViewType col_map,
CrsColIdViewType crs_col_ids, RowIdViewType crs_row_cnt)
: __nrows(nrows),
__ncols(ncols),
__nnz(nnz),
Expand Down

0 comments on commit abfc89a

Please sign in to comment.