pub enum HiveGpuError {
Show 24 variants
InvalidDimension {
expected: usize,
got: usize,
},
DimensionMismatch {
expected: usize,
actual: usize,
},
VramLimitExceeded {
requested: usize,
limit: usize,
},
GpuOperationFailed(String),
NoDeviceAvailable,
BufferAllocationFailed(String),
DeviceInitializationFailed(String),
ShaderCompilationFailed(String),
MemoryAllocationFailed(String),
SearchFailed(String),
VectorNotFound(String),
InvalidConfiguration(String),
CudaError(String),
CublasError(String),
HipError(String),
RocblasError(String),
RocmError(String),
VulkanError(String),
IntelError(String),
SpirvCompileError(String),
InternalError(String),
IoError(Error),
JsonError(Error),
Other(String),
}Expand description
Main error type for Hive GPU operations
Variants§
InvalidDimension
Invalid vector dimension
DimensionMismatch
Dimension mismatch
VramLimitExceeded
VRAM limit exceeded
GpuOperationFailed(String)
GPU operation failed
NoDeviceAvailable
No GPU device available
BufferAllocationFailed(String)
Buffer allocation failed
DeviceInitializationFailed(String)
Device initialization failed
ShaderCompilationFailed(String)
Shader compilation failed
MemoryAllocationFailed(String)
Memory allocation failed
SearchFailed(String)
Search operation failed
VectorNotFound(String)
Vector not found
InvalidConfiguration(String)
Invalid configuration
CudaError(String)
CUDA driver or runtime failure
CublasError(String)
cuBLAS call failure
HipError(String)
HIP driver or runtime failure
RocblasError(String)
rocBLAS call failure
RocmError(String)
Generic ROCm backend error (loader, setup, teardown)
VulkanError(String)
Vulkan API failure — covers Intel, universal-Vulkan fallback, and
any host running a Vulkan-capable GPU through the intel feature.
IntelError(String)
Generic Intel backend error (loader, device selection).
SpirvCompileError(String)
SPIR-V shader module creation or compilation failure.
InternalError(String)
Internal error
IoError(Error)
IO error
JsonError(Error)
JSON error
Other(String)
Other errors
Trait Implementations§
Source§impl Debug for HiveGpuError
impl Debug for HiveGpuError
Source§impl Display for HiveGpuError
impl Display for HiveGpuError
Source§impl Error for HiveGpuError
impl Error for HiveGpuError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()