aoclsparse::create_csr() - aoclsparse::create_csr() - 5.3 English - 68552

AOCL API Guide (68552)

Document_ID
68552
Release_Date
2026-05-13
Version
5.3 English
template<typename T>
aoclsparse_status aoclsparse::create_csr(aoclsparse_matrix *mat, aoclsparse_index_base base, aoclsparse_int M, aoclsparse_int N, aoclsparse_int nnz, aoclsparse_int *row_ptr, aoclsparse_int *col_idx, T *val, bool fast_chck = false)#

aoclsparse::create_csr is the C++ interface to aoclsparse_create_?csr that creates aoclsparse_matrix and initializes it with provided input parameters.

Template Parameters:

T – Data type supported for T are double, float, std::complex<double> or std::complex<float>