pub unsafe extern "C" fn cusparseCreateDnVec(
dnVecDescr: *mut cusparseDnVecDescr_t,
size: i64,
values: *mut c_void,
valueType: cudaDataType,
) -> cusparseStatus_tExpand description
This function initializes the dense vector descriptor dnVecDescr.
cusparseCreateDnVec has the following constraints:
valuesmust be aligned to the size of the datatype specified byvalueType. Refer to cudaDataType_t for the description of the datatypes.
ยงParameters
dnVecDescr: Dense vector descriptor.size: Size of the dense vector.values: Values of the dense vector. Array withsizeelements.valueType: Enumerator specifying the datatype ofvalues.