Skip to main content

Library

Struct Library 

Source
pub struct Library { /* private fields */ }

Implementations§

Source§

impl Library

Source

pub const fn cuda_driver() -> Self

Source

pub const fn cuda_runtime() -> Self

Source

pub const fn nvrtc() -> Self

Source

pub const fn nvvm() -> Self

Source

pub const fn nvtx() -> Self

Source

pub const fn nvml() -> Self

Source

pub const fn cublas() -> Self

Source

pub const fn cublas_lt() -> Self

Source

pub const fn cudnn() -> Self

Source

pub const fn cudss() -> Self

Source

pub const fn cufft() -> Self

Source

pub const fn cufile() -> Self

Source

pub const fn cupti() -> Self

Source

pub const fn curand() -> Self

Source

pub const fn cusolver() -> Self

Source

pub const fn cusparse() -> Self

Source

pub const fn cutensor() -> Self

Source

pub const fn cutensor_mg() -> Self

Source

pub const fn cutensor_mp() -> Self

Source

pub const fn nccl() -> Self

Source

pub const fn npp() -> Self

Source

pub const fn nvcomp() -> Self

Source

pub const fn nvimagecodec() -> Self

Source

pub const fn nvjpeg() -> Self

Source

pub const fn nvjpeg2k() -> Self

Source

pub const fn nvtiff() -> Self

Source§

impl Library

Source

pub const fn new(name: &'static str, files: &'static [&'static str]) -> Self

Source

pub const fn name(&self) -> &'static str

Source

pub fn load(&self) -> Result<(), LoadError>

Source

pub fn paths(&self) -> Result<Vec<PathBuf>, LoadError>

Source

pub unsafe fn symbol<F: Copy>(&self, name: &str) -> Option<F>

Source

pub fn absence(&self) -> Absence

Trait Implementations§

Source§

impl Debug for Library

Source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.