pub fn csr_to_coo(
ctx: &Context,
csr_row_offsets: &DeviceMemory<i32>,
nonzero_count: usize,
row_count: usize,
coo_row_indices: &mut DeviceMemory<i32>,
index_base: IndexBase,
) -> Result<()>Expand description
Converts compressed row pointers in CSR format into uncompressed row indices in COO format.
It can also be used to convert the array containing the compressed column indices (corresponding to CSC format) into an array of uncompressed column indices (corresponding to COO format).
- Requires no extra storage.
- Supports asynchronous execution.
- Supports CUDA graph capture.