Skip to content

Commit

Permalink
Remove references from buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
Rbiessy committed Apr 11, 2024
1 parent 15ec0e5 commit 16ed109
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ init_coo_matrix (Buffer version)
std::int64_t num_cols,
std::int64_t nnz,
index_base index,
sycl::buffer<indexType, 1> &row_ind,
sycl::buffer<indexType, 1> &col_ind,
sycl::buffer<dataType, 1> &val);
sycl::buffer<indexType, 1> row_ind,
sycl::buffer<indexType, 1> col_ind,
sycl::buffer<dataType, 1> val);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ init_csr_matrix (Buffer version)
std::int64_t num_cols,
std::int64_t nnz,
index_base index,
sycl::buffer<indexType, 1> &row_ptr,
sycl::buffer<indexType, 1> &col_ind,
sycl::buffer<dataType, 1> &val);
sycl::buffer<indexType, 1> row_ptr,
sycl::buffer<indexType, 1> col_ind,
sycl::buffer<dataType, 1> val);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ init_dense_matrix (Buffer version)
std::int64_t num_cols,
std::int64_t ld,
layout dense_layout,
sycl::buffer<dataType, 1> &val);
sycl::buffer<dataType, 1> val);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ init_dense_vector (Buffer version)
void init_dense_vector (sycl::queue &queue,
oneapi::mkl::sparse::dense_vector_handle_t *p_dvhandle,
std::int64_t size,
sycl::buffer<dataType, 1> &val);
sycl::buffer<dataType, 1> val);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ set_coo_matrix_data (Buffer version)
std::int64_t num_cols,
std::int64_t nnz,
index_base index,
sycl::buffer<indexType, 1> &row_ind,
sycl::buffer<indexType, 1> &col_ind,
sycl::buffer<dataType, 1> &val);
sycl::buffer<indexType, 1> row_ind,
sycl::buffer<indexType, 1> col_ind,
sycl::buffer<dataType, 1> val);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ set_csr_matrix_data (Buffer version)
std::int64_t num_cols,
std::int64_t nnz,
index_base index,
sycl::buffer<indexType, 1> &row_ptr,
sycl::buffer<indexType, 1> &col_ind,
sycl::buffer<dataType, 1> &val);
sycl::buffer<indexType, 1> row_ptr,
sycl::buffer<indexType, 1> col_ind,
sycl::buffer<dataType, 1> val);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ set_dense_matrix_data (Buffer version)
std::int64_t num_cols,
std::int64_t ld,
layout dense_layout,
sycl::buffer<dataType, 1> &val);
sycl::buffer<dataType, 1> val);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ set_dense_vector_data (Buffer version)
void set_dense_vector_data (sycl::queue &queue,
oneapi::mkl::sparse::dense_vector_handle_t dvhandle,
std::int64_t size,
sycl::buffer<dataType, 1> &val);
sycl::buffer<dataType, 1> val);
}
Expand Down

0 comments on commit 16ed109

Please sign in to comment.