rocsparse_bell_get Interface Reference#
hipfort_rocsparse::rocsparse_bell_get Interface Reference
Get the fields of the sparse blocked ELL matrix descriptor. More...
Public Member Functions | |
| integer(kind(rocsparse_status_success)) function | rocsparse_bell_get_ (descr, rows, cols, ell_block_dir, ell_block_dim, ell_cols, ell_col_ind, ell_val, idx_type, idx_base, data_type) |
Detailed Description
Get the fields of the sparse blocked ELL matrix descriptor.
rocsparse_bell_get gets the fields of the sparse blocked ELL matrix descriptor.
- Parameters
-
[in] descr - the pointer to the sparse blocked ELL matrix descriptor. [out] rows - number of rows in the blocked ELL matrix. [out] cols - number of columns in the blocked ELL matrix. [out] ell_block_dir - rocsparse_direction_roworrocsparse_direction_column.[out] ell_block_dim - block dimension of the sparse blocked ELL matrix. [out] ell_cols - column indices of the blocked ELL matrix. Must be an array of length rows*ell_width.[out] ell_col_ind - column indices of the blocked ELL matrix. Must be an array of length rows*ell_width.[out] ell_val - values of the blocked ELL matrix. Must be an array of length rows*ell_width.[out] idx_type - rocsparse_indextype_i32orrocsparse_indextype_i64.[out] idx_base - rocsparse_index_base_zeroorrocsparse_index_base_one.[out] data_type - rocsparse_datatype_f32_r,rocsparse_datatype_f64_r,rocsparse_datatype_f32_c, orrocsparse_datatype_f64_c.
- Return values
-
rocsparse_status_success the operation completed successfully. rocsparse_status_invalid_pointer if descr,ell_cols,ell_col_ind, orell_valis invalid.rocsparse_status_invalid_size if rows,cols, orell_block_dimis invalid.rocsparse_status_invalid_value if ell_block_dir,idx_type,idx_base, ordata_typeis invalid.
Member Function/Subroutine Documentation
◆ rocsparse_bell_get_()
| integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_bell_get::rocsparse_bell_get_ | ( | type(c_ptr), value | descr, |
| integer(c_int64_t) | rows, | ||
| integer(c_int64_t) | cols, | ||
| type(c_ptr), value | ell_block_dir, | ||
| type(c_ptr), value | ell_block_dim, | ||
| type(c_ptr), value | ell_cols, | ||
| type(c_ptr) | ell_col_ind, | ||
| type(c_ptr) | ell_val, | ||
| type(c_ptr), value | idx_type, | ||
| type(c_ptr), value | idx_base, | ||
| type(c_ptr), value | data_type | ||
| ) |
The documentation for this interface was generated from the following file: