pub struct SystemConfig {
pub enable_unified_interface: bool,
pub enable_cross_vendor_sharing: bool,
pub enable_performance_monitoring: bool,
pub monitoring_interval: Duration,
pub memory_budget: f64,
pub enable_auto_optimization: bool,
pub optimization_interval: Duration,
pub enable_memory_compression: bool,
pub thread_pool_size: usize,
}Expand description
System-wide configuration
Fields§
§enable_unified_interface: boolEnable unified memory interface
enable_cross_vendor_sharing: boolEnable cross-vendor memory sharing
enable_performance_monitoring: boolEnable performance monitoring
monitoring_interval: DurationMonitoring interval
memory_budget: f64Memory budget as fraction of total GPU memory
enable_auto_optimization: boolEnable automatic optimization
optimization_interval: DurationOptimization interval
enable_memory_compression: boolEnable memory compression
thread_pool_size: usizeThread pool size for memory operations
Trait Implementations§
Source§impl Clone for SystemConfig
impl Clone for SystemConfig
Source§fn clone(&self) -> SystemConfig
fn clone(&self) -> SystemConfig
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 SystemConfig
impl Debug for SystemConfig
Auto Trait Implementations§
impl Freeze for SystemConfig
impl RefUnwindSafe for SystemConfig
impl Send for SystemConfig
impl Sync for SystemConfig
impl Unpin for SystemConfig
impl UnsafeUnpin for SystemConfig
impl UnwindSafe for SystemConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more