pub struct GetrfBatchedRequest<T: SolverSupported> {
pub a: GpuRef<T>,
pub n: i32,
pub batch_size: i32,
pub ipiv: GpuRef<i32>,
pub reply: Sender<Result<(), GpuError>>,
}Fields§
§a: GpuRef<T>Contiguous batch_size × n × n column-major buffer.
n: i32Square problem size.
batch_size: i32Number of independent problems.
ipiv: GpuRef<i32>Pivot indices: batch_size * n i32 entries.
reply: Sender<Result<(), GpuError>>Trait Implementations§
Source§impl<T> SolverDispatch for GetrfBatchedRequest<T>where
T: SolverSupported + SolverScalar + BatchedLu,
impl<T> SolverDispatch for GetrfBatchedRequest<T>where
T: SolverSupported + SolverScalar + BatchedLu,
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 GetrfBatchedRequest<T>
impl<T> !RefUnwindSafe for GetrfBatchedRequest<T>
impl<T> Send for GetrfBatchedRequest<T>
impl<T> Sync for GetrfBatchedRequest<T>
impl<T> Unpin for GetrfBatchedRequest<T>
impl<T> UnsafeUnpin for GetrfBatchedRequest<T>
impl<T> !UnwindSafe for GetrfBatchedRequest<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