pub enum CudaRustError {
ParseError(String),
TranslationError(String),
RuntimeError(String),
MemoryError(String),
Backend(String),
KernelError(String),
DeviceError(String),
InvalidArgument(String),
NotImplemented(String),
IoError(Error),
}
Expand description
Main error type for CUDA-Rust operations
Variants§
ParseError(String)
Parser encountered an error
TranslationError(String)
Translation/transpilation error
RuntimeError(String)
Runtime execution error
MemoryError(String)
Memory allocation or management error
Backend(String)
Backend-specific error
KernelError(String)
Kernel compilation error
DeviceError(String)
Device not found or not supported
InvalidArgument(String)
Invalid argument provided
NotImplemented(String)
Feature not yet implemented
IoError(Error)
IO error
Trait Implementations§
Source§impl Debug for CudaRustError
impl Debug for CudaRustError
Source§impl Display for CudaRustError
impl Display for CudaRustError
Source§impl Error for CudaRustError
impl Error for CudaRustError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for CudaRustError
impl !RefUnwindSafe for CudaRustError
impl Send for CudaRustError
impl Sync for CudaRustError
impl Unpin for CudaRustError
impl !UnwindSafe for CudaRustError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more