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