Struct rustacuda::context::ContextStack [−][src]
pub struct ContextStack;
Expand description
Type used to represent the thread-local context stack.
Implementations
Push the given context to the top of the stack
Example
let unowned = ContextStack::pop()?; ContextStack::push(&unowned)?;