pub struct PotrfBatchedRequest<T: SolverSupported> {
pub a: GpuRef<T>,
pub n: i32,
pub batch_size: i32,
pub uplo: Uplo,
pub reply: Sender<Result<(), GpuError>>,
}Fields§
§a: GpuRef<T>§n: i32§batch_size: i32§uplo: Uplo§reply: Sender<Result<(), GpuError>>Trait Implementations§
Source§impl<T> SolverDispatch for PotrfBatchedRequest<T>where
T: SolverSupported + SolverScalar,
impl<T> SolverDispatch for PotrfBatchedRequest<T>where
T: SolverSupported + SolverScalar,
Source§fn dispatch(self: Box<Self>, cells: SolverCells<'_>)
fn dispatch(self: Box<Self>, cells: SolverCells<'_>)
Execute the request against a real cuSOLVER handle.
Source§fn dispatch_mock(self: Box<Self>)
fn dispatch_mock(self: Box<Self>)
Reply with a “mock mode” error without touching the GPU.
Default impl drops
self so the caller’s oneshot closes;
per-request impls override to send a typed Err.Auto Trait Implementations§
impl<T> Freeze for PotrfBatchedRequest<T>
impl<T> !RefUnwindSafe for PotrfBatchedRequest<T>
impl<T> Send for PotrfBatchedRequest<T>
impl<T> Sync for PotrfBatchedRequest<T>
impl<T> Unpin for PotrfBatchedRequest<T>
impl<T> UnsafeUnpin for PotrfBatchedRequest<T>
impl<T> !UnwindSafe for PotrfBatchedRequest<T>
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