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