pub struct MultiGpuConfiguration { /* private fields */ }Expand description
Multi-GPU configuration and load balancing
Implementations§
Source§impl MultiGpuConfiguration
impl MultiGpuConfiguration
Sourcepub fn detect_and_configure(&self) -> IntegrateResult<Self>
pub fn detect_and_configure(&self) -> IntegrateResult<Self>
Detect and configure multi-GPU setup
Sourcepub fn cpu_fallback_config(&self) -> IntegrateResult<Self>
pub fn cpu_fallback_config(&self) -> IntegrateResult<Self>
Create a CPU fallback configuration
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MultiGpuConfiguration
impl RefUnwindSafe for MultiGpuConfiguration
impl Send for MultiGpuConfiguration
impl Sync for MultiGpuConfiguration
impl Unpin for MultiGpuConfiguration
impl UnwindSafe for MultiGpuConfiguration
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> 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