pub struct Potrf<T> { /* private fields */ }Expand description
Implementations§
Source§impl<T> Potrf<T>where
T: DataTypeLike,
impl<T> Potrf<T>where
T: DataTypeLike,
Sourcepub fn new(fill_mode: FillMode, n: usize) -> Self
pub fn new(fill_mode: FillMode, n: usize) -> Self
Creates a typed POTRF operation using the matrix data type as compute type.
Sourcepub const fn with_compute_type(self, compute_type: DataType) -> Self
pub const fn with_compute_type(self, compute_type: DataType) -> Self
Sets the compute type passed to the generic cuSOLVER X API.
Sourcepub const fn compute_type(&self) -> DataType
pub const fn compute_type(&self) -> DataType
Returns the cuSOLVER compute type.
Sourcepub fn workspace_size(
&self,
ctx: &Context,
params: &Params,
a: MatrixRef<'_, T>,
) -> Result<WorkspaceSizes>
pub fn workspace_size( &self, ctx: &Context, params: &Params, a: MatrixRef<'_, T>, ) -> Result<WorkspaceSizes>
Returns the required device and host workspace sizes.
§Errors
Returns an error if the matrix shape is invalid or cuSOLVER cannot report the workspace sizes.
Trait Implementations§
impl<T: Copy> Copy for Potrf<T>
impl<T: Eq> Eq for Potrf<T>
impl<T: PartialEq> StructuralPartialEq for Potrf<T>
Auto Trait Implementations§
impl<T> Freeze for Potrf<T>
impl<T> RefUnwindSafe for Potrf<T>where
T: RefUnwindSafe,
impl<T> Send for Potrf<T>where
T: Send,
impl<T> Sync for Potrf<T>where
T: Sync,
impl<T> Unpin for Potrf<T>where
T: Unpin,
impl<T> UnsafeUnpin for Potrf<T>
impl<T> UnwindSafe for Potrf<T>where
T: UnwindSafe,
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