pub struct PotriArgs<'a, T> {
pub factor: MatrixMut<'a, T>,
pub workspace: &'a mut DeviceMemory<T>,
pub dev_info: &'a mut DeviceMemory<i32>,
}Expand description
Runtime buffers for Potri::run.
Fields§
§factor: MatrixMut<'a, T>§workspace: &'a mut DeviceMemory<T>§dev_info: &'a mut DeviceMemory<i32>Implementations§
Source§impl<'a, T> PotriArgs<'a, T>
impl<'a, T> PotriArgs<'a, T>
Sourcepub const fn new(
factor: MatrixMut<'a, T>,
workspace: &'a mut DeviceMemory<T>,
dev_info: &'a mut DeviceMemory<i32>,
) -> Self
pub const fn new( factor: MatrixMut<'a, T>, workspace: &'a mut DeviceMemory<T>, dev_info: &'a mut DeviceMemory<i32>, ) -> Self
Groups the factorized matrix, workspace, and info buffer needed by Potri::run.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> !UnwindSafe for PotriArgs<'a, T>
impl<'a, T> Freeze for PotriArgs<'a, T>
impl<'a, T> RefUnwindSafe for PotriArgs<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for PotriArgs<'a, T>where
T: Send,
impl<'a, T> Sync for PotriArgs<'a, T>where
T: Sync,
impl<'a, T> Unpin for PotriArgs<'a, T>
impl<'a, T> UnsafeUnpin for PotriArgs<'a, 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