Module runtime

Source
Expand description

CUDA-compatible runtime for Rust

Re-exports§

pub use grid::Grid;
pub use grid::Block;
pub use grid::Dim3;
pub use device::Device;
pub use device::BackendType;
pub use stream::Stream;
pub use event::Event;
pub use kernel::launch_kernel;
pub use kernel::LaunchConfig;
pub use kernel::KernelFunction;
pub use kernel::ThreadContext;

Modules§

block
Block index access
device
Device abstraction for different backends
event
CUDA event abstraction for timing and synchronization
grid
Grid and block dimension types
kernel
Kernel launch functionality
memory
Memory management module (stub for runtime) Full implementation is in memory module
stream
CUDA stream abstraction for asynchronous operations
thread
Thread index access

Structs§

Runtime
Main runtime context

Functions§

sync_threads
Synchronize threads within a block