aoclsparse::create_csr() - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 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>