Expand description
Raw FFI + dynamic loader for the CUDA Runtime API (libcudart).
Parallels the [crate::driver] module. Runtime handles
(cudaStream_t, cudaEvent_t, …) are typedef-compatible with
the Driver API’s CUstream / CUevent / … so
baracuda-runtime and baracuda-driver can freely convert between
the two.
Re-exports§
pub use loader::runtime;pub use loader::Runtime;pub use status::cudaError_t;pub use types::cudaArray_t;pub use types::cudaEvent_t;pub use types::cudaExternalMemory_t;pub use types::cudaExternalSemaphore_t;pub use types::cudaGraphExec_t;pub use types::cudaGraphNode_t;pub use types::cudaGraph_t;pub use types::cudaKernel_t;pub use types::cudaLibrary_t;pub use types::cudaMemPool_t;pub use types::cudaMemcpyKind;pub use types::cudaStream_t;pub use types::cudaUserObject_t;pub use types::dim3;
Modules§
- functions
- C function-pointer aliases for the CUDA Runtime API.
- loader
- The
Runtimeloader — parallelscrate::Driverfor the CUDA Runtime API. - status
cudaError_t— the Runtime API status enum — plus itsCudaStatusimpl.- types
- Core handle types used by the CUDA Runtime API.