pub struct CudaRuntimeLoader { /* private fields */ }Expand description
Real dynamic loader using platform CUDA shared libraries.
Implementations§
Source§impl CudaRuntimeLoader
impl CudaRuntimeLoader
Sourcepub fn with_search_dirs(search_dirs: Vec<PathBuf>) -> Self
pub fn with_search_dirs(search_dirs: Vec<PathBuf>) -> Self
Builds a loader that first searches explicit directories.
Sourcepub fn with_search_dirs_only(search_dirs: Vec<PathBuf>) -> Self
pub fn with_search_dirs_only(search_dirs: Vec<PathBuf>) -> Self
Builds a loader restricted to explicit directories. This is used to prove fail-closed behavior when vendor libraries are unavailable.
Trait Implementations§
Source§impl Clone for CudaRuntimeLoader
impl Clone for CudaRuntimeLoader
Source§fn clone(&self) -> CudaRuntimeLoader
fn clone(&self) -> CudaRuntimeLoader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CudaRuntimeLoader
impl Debug for CudaRuntimeLoader
Source§impl Default for CudaRuntimeLoader
impl Default for CudaRuntimeLoader
Source§impl DynamicCudaLoader for CudaRuntimeLoader
impl DynamicCudaLoader for CudaRuntimeLoader
Source§fn discover(&self) -> Result<CudaRuntimeProbe, CudaLoadError>
fn discover(&self) -> Result<CudaRuntimeProbe, CudaLoadError>
Performs CUDA runtime discovery.
Auto Trait Implementations§
impl Freeze for CudaRuntimeLoader
impl RefUnwindSafe for CudaRuntimeLoader
impl Send for CudaRuntimeLoader
impl Sync for CudaRuntimeLoader
impl Unpin for CudaRuntimeLoader
impl UnsafeUnpin for CudaRuntimeLoader
impl UnwindSafe for CudaRuntimeLoader
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