Skip to main content

Module handle

Module handle 

Source
Expand description

Sparse handle management.

SparseHandle is the central object for all sparse operations, analogous to cusparseHandle_t in cuSPARSE. It owns a CUDA stream, a BlasHandle for dense sub-operations, a PtxCache for kernel caching, and caches the target SM version.

§Example

let handle = SparseHandle::new(&ctx)?;

Structs§

SparseHandle
Central handle for sparse matrix operations.