Module cust::prelude[][src]

Expand description

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

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

Re-exports

pub use crate::context::Context;
pub use crate::context::ContextFlags;
pub use crate::device::Device;
pub use crate::launch;
pub use crate::module::Module;
pub use crate::stream::Stream;
pub use crate::stream::StreamFlags;
pub use crate::util::*;
pub use crate::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.