pub struct AtlasDevice {
pub ctx: Arc<CudaContext>,
pub ordinal: usize,
}Expand description
Wrapper around a cudarc CudaContext with SM121-specific configuration.
Fields§
§ctx: Arc<CudaContext>§ordinal: usizeImplementations§
Trait Implementations§
Source§impl Clone for AtlasDevice
impl Clone for AtlasDevice
Source§fn clone(&self) -> AtlasDevice
fn clone(&self) -> AtlasDevice
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AtlasDevice
impl RefUnwindSafe for AtlasDevice
impl Send for AtlasDevice
impl Sync for AtlasDevice
impl Unpin for AtlasDevice
impl UnwindSafe for AtlasDevice
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