Expand description
Runtime machinery shared across baracuda crates.
error— loader errors, a generic per-libraryError<S>, and the library-erasedBaracudaError.loader— the dynamic loader wrapper used by every-syscrate.platform— OS detection and default library search paths.stream_mode— process-wide default-stream-semantics selector.
Depending on this crate pulls in libloading. Crates that only need the
type vocabulary should depend on baracuda-types instead.
Re-exports§
pub use error::BaracudaError;pub use error::Error;pub use error::LoaderError;pub use loader::Library;
Modules§
- error
- Error types shared across the baracuda crates.
- loader
- Thin dynamic-loader wrapper around
libloading. - platform
- Platform detection and default library search paths.
- stream_
mode - Process-wide default-stream-semantics selector.
Structs§
- Cuda
Version - A CUDA major.minor version.
Enums§
- Feature
- Named CUDA capabilities, each gated by the minimum toolkit/driver version
in which they became available. Safe-API crates call
supportsbefore invoking the underlying symbol and surfaceError::FeatureNotSupportedwhen the installed driver is too old. - Stream
Mode - The default-stream semantics the baracuda loader should request from
cuGetProcAddress_v2.
Traits§
- Cuda
Status - A status code returned by an NVIDIA library call.