pub enum GpuEvaluationError {
InvalidInput(&'static str),
SizeOverflow,
InconsistentMove,
Driver(DriverError),
}Expand description
Input validation, CUDA execution, or selected-move consistency failure.
Variants§
InvalidInput(&'static str)
The instance or route violates the evaluator’s input invariants.
SizeOverflow
A matrix or launch dimension cannot be represented safely.
InconsistentMove
A selected move was invalid or did not reduce recomputed route cost.
Driver(DriverError)
The CUDA driver rejected an operation.
Trait Implementations§
Source§impl Debug for GpuEvaluationError
impl Debug for GpuEvaluationError
Source§impl Display for GpuEvaluationError
impl Display for GpuEvaluationError
Source§impl Error for GpuEvaluationError
impl Error for GpuEvaluationError
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()
Source§impl From<DriverError> for GpuEvaluationError
impl From<DriverError> for GpuEvaluationError
Source§fn from(error: DriverError) -> Self
fn from(error: DriverError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GpuEvaluationError
impl RefUnwindSafe for GpuEvaluationError
impl Send for GpuEvaluationError
impl Sync for GpuEvaluationError
impl Unpin for GpuEvaluationError
impl UnsafeUnpin for GpuEvaluationError
impl UnwindSafe for GpuEvaluationError
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