Module gpu

Module gpu 

Source
Expand description

GPU acceleration for sparse matrix operations

This module provides GPU acceleration support for sparse matrix operations across multiple backends including CUDA, OpenCL, Metal, ROCm, and WGPU.

Re-exports§

pub use crate::gpu_ops::GpuBackend;
pub use crate::gpu_ops::GpuBuffer;
pub use crate::gpu_ops::GpuDevice;
pub use crate::gpu_ops::GpuError;
pub use crate::gpu_ops::GpuKernelHandle;
pub use cuda::CudaMemoryManager;
pub use cuda::CudaOptimizationLevel;
pub use cuda::CudaSpMatVec;
pub use metal::MetalDeviceInfo;
pub use metal::MetalMemoryManager;
pub use metal::MetalOptimizationLevel;
pub use metal::MetalSpMatVec;
pub use opencl::OpenCLMemoryManager;
pub use opencl::OpenCLOptimizationLevel;
pub use opencl::OpenCLPlatformInfo;
pub use opencl::OpenCLSpMatVec;

Modules§

convenience
Convenient functions for common operations
cuda
CUDA backend for sparse matrix GPU operations
metal
Metal backend for sparse matrix GPU operations on Apple platforms
opencl
OpenCL backend for sparse matrix GPU operations

Structs§

BackendInfo
GPU backend information
GpuSpMatVec
Unified GPU sparse matrix operations interface

Enums§

OptimizationHint
Cross-platform optimization hints