pub struct AdvancedMultiGpuCoordinator { /* private fields */ }Expand description
Advanced multi-GPU coordinator for optimization
Implementations§
Source§impl AdvancedMultiGpuCoordinator
impl AdvancedMultiGpuCoordinator
Sourcepub fn new() -> LinalgResult<Self>
pub fn new() -> LinalgResult<Self>
Create a new multi-GPU coordinator
Sourcepub fn execute_multi_gpu_fusion<T>(
&mut self,
fusion_plan: &[FusionCandidate],
) -> LinalgResult<Vec<Array2<T>>>
pub fn execute_multi_gpu_fusion<T>( &mut self, fusion_plan: &[FusionCandidate], ) -> LinalgResult<Vec<Array2<T>>>
Execute multi-GPU optimization
Sourcepub fn optimize_communication(&mut self) -> LinalgResult<()>
pub fn optimize_communication(&mut self) -> LinalgResult<()>
Optimize inter-GPU communication
Sourcepub fn balance_load(&mut self) -> LinalgResult<()>
pub fn balance_load(&mut self) -> LinalgResult<()>
Balance load across GPUs
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AdvancedMultiGpuCoordinator
impl RefUnwindSafe for AdvancedMultiGpuCoordinator
impl Send for AdvancedMultiGpuCoordinator
impl Sync for AdvancedMultiGpuCoordinator
impl Unpin for AdvancedMultiGpuCoordinator
impl UnsafeUnpin for AdvancedMultiGpuCoordinator
impl UnwindSafe for AdvancedMultiGpuCoordinator
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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