pub fn advanced_sparse_matvec_csr<T>(
y: &mut [T],
rows: usize,
indptr: &[usize],
indices: &[usize],
data: &[T],
x: &[T],
)
Expand description
Advanced-optimized parallel sparse matrix-vector multiplication with adaptive strategies
This is an Advanced mode enhancement that automatically selects the best computational strategy based on matrix characteristics and hardware capabilities.
§Arguments
y
- Output vector (will be overwritten)rows
- Number of rows in the matrixindptr
- Row pointer array (length = rows + 1)indices
- Column indices arraydata
- Non-zero values arrayx
- Input vector
§Features
- Adaptive workload balancing based on row sparsity
- Cache-aware memory access patterns
- NUMA-aware thread scheduling
- Vectorized inner loops with prefetching