From 5c37ee30a4975789bbe8ab7f35632d7e2b205292 Mon Sep 17 00:00:00 2001 From: "romain.biessy" Date: Tue, 2 Jul 2024 12:24:01 +0200 Subject: [PATCH] Reword and format mkl_handles comments --- src/sparse_blas/backends/mkl_common/mkl_handles.hpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/sparse_blas/backends/mkl_common/mkl_handles.hpp b/src/sparse_blas/backends/mkl_common/mkl_handles.hpp index 9a46b6533..efadd72e7 100644 --- a/src/sparse_blas/backends/mkl_common/mkl_handles.hpp +++ b/src/sparse_blas/backends/mkl_common/mkl_handles.hpp @@ -21,14 +21,16 @@ #define _ONEMKL_SRC_SPARSE_BLAS_BACKENDS_MKL_COMMON_MKL_HANDLES_HPP_ // MKLCPU and MKLGPU backends include -// This include defines its own oneapi::mkl::sparse namespace with some of the types that are used here: matrix_handle_t, index_base, transpose, uplo, diag. +// This include defines its own oneapi::mkl::sparse namespace with some of the +// types that are used here: matrix_handle_t, index_base, transpose, uplo, diag. #include #include "sparse_blas/generic_container.hpp" namespace oneapi::mkl::sparse { -// Complete the definition of incomplete types dense_vector_handle and dense_matrix_handle as there is no conflict with the oneMKL backends. +// Complete the definition of incomplete types dense_vector_handle and +// dense_matrix_handle as they don't exist in oneMKL backends yet. struct dense_vector_handle : public detail::generic_dense_vector_handle { template @@ -62,7 +64,9 @@ namespace oneapi::mkl::sparse::detail { * Internal sparse_matrix_handle type for MKL backends. * Here \p matrix_handle_t is the type of the backend's handle. * The user-facing incomplete type matrix_handle_t must be kept incomplete. - * Internally matrix_handle_t is reinterpret_cast as oneapi::mkl::sparse::detail::sparse_matrix_handle which holds another matrix_handle_t for the backend handle. + * Internally matrix_handle_t is reinterpret_cast as + * oneapi::mkl::sparse::detail::sparse_matrix_handle which holds another + * matrix_handle_t for the backend handle. */ using sparse_matrix_handle = detail::generic_sparse_handle;