Module rustacuda::prelude[][src]

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.


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


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

Fixed-size buffer in unified memory.


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.