pub struct Context { /* private fields */ }
Expand description
Defines a Cuda Context.
Implementations§
Trait Implementations§
source§impl IDevice for Context
impl IDevice for Context
source§fn alloc_memory(&self, size: size_t) -> Result<Memory, DeviceError>
fn alloc_memory(&self, size: size_t) -> Result<Memory, DeviceError>
Allocate memory on the Device.
source§impl MemorySync for Context
impl MemorySync for Context
source§impl PartialEq for Context
impl PartialEq for Context
impl Eq for Context
Auto Trait Implementations§
impl RefUnwindSafe for Context
impl !Send for Context
impl !Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more