The nvmath.bindings module is experimental and potentially subject to future changes.

sprune_dense2csr_nnz#

nvmath.bindings.cusparse.sprune_dense2csr_nnz(
intptr_t handle,
int m,
int n,
intptr_t a,
int lda,
intptr_t threshold,
intptr_t descr_c,
intptr_t csr_row_ptr_c,
intptr_t nnz_total_dev_host_ptr,
intptr_t p_buffer,
)[source]#

See cusparseSpruneDense2csrNnz.