pub struct KernelDebugConfig {
pub debug_level: DebugLevel,
pub enable_bounds_check: bool,
pub enable_nan_check: bool,
pub enable_inf_check: bool,
pub enable_race_detection: bool,
pub print_buffer_size: usize,
pub max_print_per_thread: usize,
}Expand description
Configuration for a kernel debug session.
Fields§
§debug_level: DebugLevelThe verbosity level for debug output.
enable_bounds_check: boolWhether to instrument bounds checking on memory accesses.
enable_nan_check: boolWhether to detect NaN values in floating-point registers.
enable_inf_check: boolWhether to detect Inf values in floating-point registers.
enable_race_detection: boolWhether to detect potential race conditions.
print_buffer_size: usizeSize of the GPU-side printf buffer in bytes.
max_print_per_thread: usizeMaximum number of printf calls per thread before truncation.
Trait Implementations§
Source§impl Clone for KernelDebugConfig
impl Clone for KernelDebugConfig
Source§fn clone(&self) -> KernelDebugConfig
fn clone(&self) -> KernelDebugConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KernelDebugConfig
impl Debug for KernelDebugConfig
Auto Trait Implementations§
impl Freeze for KernelDebugConfig
impl RefUnwindSafe for KernelDebugConfig
impl Send for KernelDebugConfig
impl Sync for KernelDebugConfig
impl Unpin for KernelDebugConfig
impl UnsafeUnpin for KernelDebugConfig
impl UnwindSafe for KernelDebugConfig
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