Skip to content

Commit

Permalink
Take string as reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Rbiessy committed Jul 18, 2024
1 parent 2a59f22 commit 43f4669
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sparse_blas/backends/mkl_common/mkl_spmm.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sycl::event release_spmm_descr(sycl::queue &queue, oneapi::mkl::sparse::spmm_des
return detail::collapse_dependencies(queue, dependencies);
}

void check_valid_spmm(const std::string function_name, sycl::queue &queue,
void check_valid_spmm(const std::string &function_name, sycl::queue &queue,
oneapi::mkl::transpose opA, oneapi::mkl::sparse::matrix_view A_view,
oneapi::mkl::sparse::matrix_handle_t A_handle,
oneapi::mkl::sparse::dense_matrix_handle_t B_handle,
Expand Down
2 changes: 1 addition & 1 deletion src/sparse_blas/backends/mkl_common/mkl_spmv.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sycl::event release_spmv_descr(sycl::queue &queue, oneapi::mkl::sparse::spmv_des
return detail::collapse_dependencies(queue, dependencies);
}

void check_valid_spmv(const std::string function_name, sycl::queue &queue,
void check_valid_spmv(const std::string &function_name, sycl::queue &queue,
oneapi::mkl::transpose opA, oneapi::mkl::sparse::matrix_view A_view,
oneapi::mkl::sparse::matrix_handle_t A_handle,
oneapi::mkl::sparse::dense_vector_handle_t x_handle,
Expand Down
2 changes: 1 addition & 1 deletion src/sparse_blas/backends/mkl_common/mkl_spsv.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sycl::event release_spsv_descr(sycl::queue &queue, oneapi::mkl::sparse::spsv_des
return detail::collapse_dependencies(queue, dependencies);
}

void check_valid_spsv(const std::string function_name, sycl::queue &queue,
void check_valid_spsv(const std::string &function_name, sycl::queue &queue,
oneapi::mkl::transpose opA, oneapi::mkl::sparse::matrix_view A_view,
oneapi::mkl::sparse::matrix_handle_t A_handle,
oneapi::mkl::sparse::dense_vector_handle_t x_handle,
Expand Down

0 comments on commit 43f4669

Please sign in to comment.