Skip to content

Commit

Permalink
Reword comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Rbiessy committed Sep 13, 2024
1 parent 9c16425 commit 36599a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sparse_blas/backends/cusparse/cusparse_scope_handle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ class CusparseScopedContextHandler {
/// See get_handle_and_stream
cusparseHandle_t get_handle(const sycl::queue &queue);

// This is a work-around function for reinterpret_casting the memory. This
// will be fixed when SYCL-2020 has been implemented for Pi backend.
// Get the native pointer from an accessor. This is a different pointer than
// what can be retrieved with get_multi_ptr.
template <typename AccT>
inline void *get_mem(AccT acc) {
auto cudaPtr = ih.get_native_mem<sycl::backend::ext_oneapi_cuda>(acc);
Expand Down

0 comments on commit 36599a9

Please sign in to comment.