pub struct DnHandle { /* private fields */ }Expand description
Dense cuSOLVER handle.
Implementations§
Source§impl DnHandle
impl DnHandle
pub fn new() -> Result<Self>
pub fn set_stream(&self, stream: &Stream) -> Result<()>
Sourcepub fn stream(&self) -> Result<*mut c_void>
pub fn stream(&self) -> Result<*mut c_void>
Read back the raw stream pointer this handle is currently bound
to. Returns a raw *mut c_void rather than an owned Stream
because the cuSOLVER handle didn’t create the stream and isn’t
entitled to destroy it. The pointer aliases CUstream /
cudaStream_t.
pub fn version() -> Result<i32>
pub fn as_raw(&self) -> cusolverDnHandle_t
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DnHandle
impl RefUnwindSafe for DnHandle
impl !Sync for DnHandle
impl Unpin for DnHandle
impl UnsafeUnpin for DnHandle
impl UnwindSafe for DnHandle
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