pub struct CudaLibrarySet { /* private fields */ }Expand description
Loaded CUDA runtime libraries kept alive for function-pointer validity.
Implementations§
Source§impl CudaLibrarySet
impl CudaLibrarySet
Sourcepub fn new(
evidence: CudaAbiEvidence,
driver: Library,
runtime: Library,
cublas: Library,
cublaslt: Library,
) -> Self
pub fn new( evidence: CudaAbiEvidence, driver: Library, runtime: Library, cublas: Library, cublaslt: Library, ) -> Self
Joins capsule-loaded libraries to their validated ABI evidence.
Sourcepub fn evidence(&self) -> &CudaAbiEvidence
pub fn evidence(&self) -> &CudaAbiEvidence
Returns checked ABI evidence.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CudaLibrarySet
impl RefUnwindSafe for CudaLibrarySet
impl Send for CudaLibrarySet
impl Sync for CudaLibrarySet
impl Unpin for CudaLibrarySet
impl UnsafeUnpin for CudaLibrarySet
impl UnwindSafe for CudaLibrarySet
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