pub fn csr2csc_ex2<T: SparseScalar + DeviceRepr>(
handle: &Handle,
m: i32,
n: i32,
nnz: i32,
csr_val: &DeviceBuffer<T>,
csr_row_ptr: &DeviceBuffer<i32>,
csr_col_ind: &DeviceBuffer<i32>,
csc_val: &mut DeviceBuffer<T>,
csc_col_ptr: &mut DeviceBuffer<i32>,
csc_row_ind: &mut DeviceBuffer<i32>,
copy_values: bool,
idx_base: IndexBase,
alg: Csr2CscAlg,
workspace: &mut DeviceBuffer<u8>,
) -> Result<()>Expand description
Convert a CSR matrix to CSC format using the modern Ex2 entry point —
supports algorithm selection (alg) and arbitrary value types.