1#ifndef CS_MATRIX_SPMV_HIP_H
2#define CS_MATRIX_SPMV_HIP_H
135#if defined(HAVE_ROCSPARSE)
150cs_matrix_spmv_hip_csr_rocsparse(
cs_matrix_t *matrix,
177#if defined(HAVE_ROCSPARSE)
193cs_matrix_spmv_hip_msr_rocsparse(
cs_matrix_t *matrix,
221#if defined(HAVE_ROCSPARSE)
242cs_matrix_spmv_hip_msr_b_rocsparse(
cs_matrix_t *matrix,
double cs_real_t
Floating-point value.
Definition: cs_defs.h:332
struct _cs_matrix_t cs_matrix_t
Definition: cs_matrix.h:108
void cs_matrix_spmv_hip_set_stream(hipStream_t stream)
Assign ROC stream for next ROC-based SpMV operations.
Definition: cs_matrix_spmv_hip.cpp:1309
hipStream_t cs_matrix_spmv_hip_get_stream(void)
Return stream used for ROC-based SpMV operations.
Definition: cs_matrix_spmv_hip.cpp:1323
void cs_matrix_spmv_hip_msr_bb_rocsparse(cs_matrix_t *matrix, bool exclude_diag, bool sync, cs_real_t d_x[], cs_real_t d_y[])
Matrix.vector product y = A.x with MSR matrix, block rocSPARSE version.
void cs_matrix_spmv_hip_msr_b(cs_matrix_t *matrix, bool exclude_diag, bool sync, cs_real_t d_x[], cs_real_t d_y[])
Matrix.vector product y = A.x with MSR matrix, block diagonal HIP version.
Definition: cs_matrix_spmv_hip.cpp:1761
void cs_matrix_spmv_hip_native(cs_matrix_t *matrix, bool exclude_diag, bool sync, cs_real_t d_x[], cs_real_t d_y[])
Matrix.vector product y = A.x with MSR matrix, scalar HIP version.
void cs_matrix_spmv_hip_msr(cs_matrix_t *matrix, bool exclude_diag, bool sync, cs_real_t d_x[], cs_real_t d_y[])
Matrix.vector product y = A.x with MSR matrix, scalar HIP version.
Definition: cs_matrix_spmv_hip.cpp:1604
void cs_matrix_spmv_hip_csr(cs_matrix_t *matrix, bool exclude_diag, bool sync, cs_real_t d_x[], cs_real_t d_y[])
Matrix.vector product y = A.x with CSR matrix, scalar HIP version.
Definition: cs_matrix_spmv_hip.cpp:1446
void cs_matrix_spmv_hip_finalize(void)
Finalize HIP matrix API.
Definition: cs_matrix_spmv_hip.cpp:1281