aoclsparse::create_bsr() - 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_bsr(aoclsparse_matrix *mat, const aoclsparse_index_base base, const aoclsparse_order order, const aoclsparse_int bM, const aoclsparse_int bN, const aoclsparse_int block_dim, aoclsparse_int *row_ptr, aoclsparse_int *col_idx, T *val, bool fast_chck = false)#

aoclsparse::create_bsr is the C++ interface to aoclsparse_create_?bsr that creates aoclsparse_matrix in BSR format and initializes it with the provided input parameters.

Template Parameters:

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