baracuda_cuda_sys/runtime/mod.rs
1#![allow(non_camel_case_types)]
2
3//! Raw FFI + dynamic loader for the CUDA Runtime API (`libcudart`).
4//!
5//! Parallels the [`crate::driver`] module. Runtime handles
6//! (`cudaStream_t`, `cudaEvent_t`, ...) are typedef-compatible with
7//! the Driver API's `CUstream` / `CUevent` / ... so
8//! `baracuda-runtime` and `baracuda-driver` can freely convert between
9//! the two.
10
11pub mod functions;
12pub mod loader;
13pub mod status;
14pub mod types;
15
16pub use loader::{runtime, Runtime};
17pub use status::cudaError_t;
18pub use types::{
19 cudaArray_t, cudaEvent_t, cudaExternalMemory_t, cudaExternalSemaphore_t, cudaGraphExec_t,
20 cudaGraphNode_t, cudaGraph_t, cudaKernel_t, cudaLibrary_t, cudaMemPool_t, cudaMemcpyKind,
21 cudaStream_t, cudaUserObject_t, dim3,
22};