[−][src]Trait accel::device::Contexted
Object with CUDA context
Required methods
fn guard(&self) -> Result<ContextGuard>
fn sync(&self) -> Result<()>
fn version(&self) -> Result<u32>
fn get_ref(&self) -> ContextRef
Get a reference
This is NOT a Rust reference, i.e. you can drop owned context while the reference exists. The reference becomes expired after owned context is released, and it will cause a runtime error.