pub enum BugClass {
RaceCondition,
FloatingPointDrift,
AccumulatorInit,
LoopCounter,
MemoryAddressing,
ThreadSync,
Unknown,
}Expand description
GPU-specific bug classification based on diff patterns
Variants§
RaceCondition
Race condition: Non-deterministic output
FloatingPointDrift
Floating-point precision drift
AccumulatorInit
Accumulator not initialized to zero
LoopCounter
Loop counter SSA bug
MemoryAddressing
Memory addressing error
ThreadSync
Thread synchronization issue
Unknown
Unknown pattern
Implementations§
Source§impl BugClass
impl BugClass
Sourcepub const fn description(&self) -> &'static str
pub const fn description(&self) -> &'static str
Description of the bug class
Sourcepub const fn suggested_fix(&self) -> &'static str
pub const fn suggested_fix(&self) -> &'static str
Suggested fix for the bug class
Trait Implementations§
impl Copy for BugClass
impl Eq for BugClass
impl StructuralPartialEq for BugClass
Auto Trait Implementations§
impl Freeze for BugClass
impl RefUnwindSafe for BugClass
impl Send for BugClass
impl Sync for BugClass
impl Unpin for BugClass
impl UnsafeUnpin for BugClass
impl UnwindSafe for BugClass
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