pub struct AtlasStream {
pub stream: Arc<CudaStream>,
pub device: AtlasDevice,
}Expand description
CUDA stream wrapper for asynchronous kernel execution.
Fields§
§stream: Arc<CudaStream>§device: AtlasDeviceImplementations§
Source§impl AtlasStream
impl AtlasStream
Sourcepub fn new(device: &AtlasDevice) -> Result<Self>
pub fn new(device: &AtlasDevice) -> Result<Self>
Create a new CUDA stream on the given device.
Auto Trait Implementations§
impl Freeze for AtlasStream
impl RefUnwindSafe for AtlasStream
impl Send for AtlasStream
impl Sync for AtlasStream
impl Unpin for AtlasStream
impl UnwindSafe for AtlasStream
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