pub enum StreamMode {
Legacy,
PerThread,
}Expand description
The default-stream semantics the baracuda loader should request from
cuGetProcAddress_v2.
Variants§
Legacy
Historical default: the null stream synchronizes with everything.
PerThread
Modern default: each host thread owns its own default stream.
Trait Implementations§
Source§impl Clone for StreamMode
impl Clone for StreamMode
Source§fn clone(&self) -> StreamMode
fn clone(&self) -> StreamMode
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 moreSource§impl Debug for StreamMode
impl Debug for StreamMode
Source§impl Default for StreamMode
impl Default for StreamMode
Source§fn default() -> StreamMode
fn default() -> StreamMode
Returns the “default value” for a type. Read more
Source§impl Hash for StreamMode
impl Hash for StreamMode
Source§impl PartialEq for StreamMode
impl PartialEq for StreamMode
impl Copy for StreamMode
impl Eq for StreamMode
impl StructuralPartialEq for StreamMode
Auto Trait Implementations§
impl Freeze for StreamMode
impl RefUnwindSafe for StreamMode
impl Send for StreamMode
impl Sync for StreamMode
impl Unpin for StreamMode
impl UnsafeUnpin for StreamMode
impl UnwindSafe for StreamMode
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