Module rustacuda::prelude

source ·
Expand description

This module re-exports a number of commonly-used types for working with RustaCUDA.

This allows the user to use rustacuda::prelude::*; and have the most commonly-used types available quickly.

Re-exports

pub use context::Context;
pub use context::ContextFlags;
pub use device::Device;
pub use module::Module;
pub use stream::Stream;
pub use stream::StreamFlags;
pub use CudaFlags;

Structs

Fixed-size device-side buffer. Provides basic access to device memory.
Fixed-size buffer in unified memory.

Traits

Sealed trait implemented by types which can be the source or destination when copying data to/from the device or from one device allocation to another.