Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sparse: Remove csc2csr copy by reference. #1375

Merged
merged 1 commit into from
Mar 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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