Skip to main content

cusparseSpMatGetAttribute

Function cusparseSpMatGetAttribute 

Source
pub unsafe extern "C" fn cusparseSpMatGetAttribute(
    spMatDescr: cusparseConstSpMatDescr_t,
    attribute: cusparseSpMatAttribute_t,
    data: *mut c_void,
    dataSize: size_t,
) -> cusparseStatus_t
Expand description

The function gets the attributes of the sparse matrix descriptor spMatDescr.

ยงParameters

  • spMatDescr: Sparse matrix descriptor.
  • attribute: Attribute enumerator.
  • data: Attribute value.
  • dataSize: Size of the attribute in bytes for safety.