#[repr(transparent)]pub struct cudaLaunchAttributePortableClusterMode(pub c_uint);Expand description
Enum for defining applicability of portable cluster size, used with cudaLaunchKernelEx.
Tuple Fields§
§0: c_uintImplementations§
Source§impl cudaLaunchAttributePortableClusterMode
impl cudaLaunchAttributePortableClusterMode
Sourcepub const cudaLaunchPortableClusterModeDefault: cudaLaunchAttributePortableClusterMode
pub const cudaLaunchPortableClusterModeDefault: cudaLaunchAttributePortableClusterMode
The default to use for allowing non-portable cluster size on launch - uses current function attribute for cudaFuncAttribute::CU_FUNC_ATTRIBUTE_NON_PORTABLE_CLUSTER_SIZE_ALLOWED.
Sourcepub const cudaLaunchPortableClusterModeRequirePortable: cudaLaunchAttributePortableClusterMode
pub const cudaLaunchPortableClusterModeRequirePortable: cudaLaunchAttributePortableClusterMode
Specifies that the cluster size requested must be a portable size.
Sourcepub const cudaLaunchPortableClusterModeAllowNonPortable: cudaLaunchAttributePortableClusterMode
pub const cudaLaunchPortableClusterModeAllowNonPortable: cudaLaunchAttributePortableClusterMode
Specifies that the cluster size requested may be a non-portable size.
Trait Implementations§
impl Copy for cudaLaunchAttributePortableClusterMode
impl Eq for cudaLaunchAttributePortableClusterMode
Source§impl Ord for cudaLaunchAttributePortableClusterMode
impl Ord for cudaLaunchAttributePortableClusterMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for cudaLaunchAttributePortableClusterMode
impl PartialOrd for cudaLaunchAttributePortableClusterMode
impl StructuralPartialEq for cudaLaunchAttributePortableClusterMode
Auto Trait Implementations§
impl Forget for cudaLaunchAttributePortableClusterMode
impl Freeze for cudaLaunchAttributePortableClusterMode
impl Move for cudaLaunchAttributePortableClusterMode
impl RefUnwindSafe for cudaLaunchAttributePortableClusterMode
impl Send for cudaLaunchAttributePortableClusterMode
impl Sync for cudaLaunchAttributePortableClusterMode
impl Unpin for cudaLaunchAttributePortableClusterMode
impl UnsafeUnpin for cudaLaunchAttributePortableClusterMode
impl UnwindSafe for cudaLaunchAttributePortableClusterMode
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