Skip to main content

SparseIndex

Trait SparseIndex 

Source
pub trait SparseIndex: AccelDtype {
    // Required method
    fn cusparse_index_type() -> cusparseIndexType_t;
}
Expand description

Phase 4 cuSPARSE index-type marker. Only i32 and i64 are representable cuSPARSE row/col index dtypes.

Required Methods§

Source

fn cusparse_index_type() -> cusparseIndexType_t

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SparseIndex for i32

Available on crate feature cusparse only.
Source§

fn cusparse_index_type() -> cusparseIndexType_t

Source§

impl SparseIndex for i64

Available on crate feature cusparse only.
Source§

fn cusparse_index_type() -> cusparseIndexType_t

Implementors§