#[non_exhaustive]#[repr(u32)]pub enum cudaCGScope {
cudaCGScopeInvalid = 0,
cudaCGScopeGrid = 1,
cudaCGScopeMultiGrid = 2,
}Expand description
CUDA cooperative group scope
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
cudaCGScopeInvalid = 0
< Invalid cooperative group scope
cudaCGScopeGrid = 1
< Scope represented by a grid_group
cudaCGScopeMultiGrid = 2
< Scope represented by a multi_grid_group
Trait Implementations§
Source§impl Clone for cudaCGScope
impl Clone for cudaCGScope
Source§fn clone(&self) -> cudaCGScope
fn clone(&self) -> cudaCGScope
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 cudaCGScope
impl Debug for cudaCGScope
Source§impl Hash for cudaCGScope
impl Hash for cudaCGScope
Source§impl PartialEq for cudaCGScope
impl PartialEq for cudaCGScope
impl Copy for cudaCGScope
impl Eq for cudaCGScope
impl StructuralPartialEq for cudaCGScope
Auto Trait Implementations§
impl Freeze for cudaCGScope
impl RefUnwindSafe for cudaCGScope
impl Send for cudaCGScope
impl Sync for cudaCGScope
impl Unpin for cudaCGScope
impl UnwindSafe for cudaCGScope
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