Skip to main content

cusparseDnVecGet

Function cusparseDnVecGet 

Source
pub unsafe extern "C" fn cusparseDnVecGet(
    dnVecDescr: cusparseDnVecDescr_t,
    size: *mut i64,
    values: *mut *mut c_void,
    valueType: *mut cudaDataType,
) -> cusparseStatus_t
Expand description

This function returns the fields of the dense vector descriptor dnVecDescr.

ยงParameters

  • dnVecDescr: Dense vector descriptor.
  • size: Size of the dense vector.
  • values: Values of the dense vector. Array with nnz elements.
  • valueType: Enumerator specifying the datatype of values.