Skip to main content

cusparseSpMatSetAttribute

Function cusparseSpMatSetAttribute 

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

The function sets 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.