-
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_csris the C++ interface toaoclsparse_create_?csrthat creates aoclsparse_matrix and initializes it with provided input parameters.- Template Parameters:
T – Data type supported for
Tare double, float, std::complex<double> or std::complex<float>