pub struct LuRequest<T: SolverSupported> {
pub a: GpuRef<T>,
pub m: i32,
pub n: i32,
pub ipiv: GpuRef<i32>,
pub reply: Sender<Result<(), GpuError>>,
}Fields§
§a: GpuRef<T>§m: i32§n: i32§ipiv: GpuRef<i32>§reply: Sender<Result<(), GpuError>>Trait Implementations§
Source§impl<T> SolverDispatch for LuRequest<T>where
T: SolverSupported + SolverScalar,
impl<T> SolverDispatch for LuRequest<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 LuRequest<T>
impl<T> !RefUnwindSafe for LuRequest<T>
impl<T> Send for LuRequest<T>
impl<T> Sync for LuRequest<T>
impl<T> Unpin for LuRequest<T>
impl<T> UnsafeUnpin for LuRequest<T>
impl<T> !UnwindSafe for LuRequest<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