#[repr(transparent)]pub struct CUlaunchAttributePortableClusterMode_enum(pub c_uint);Expand description
Enum for defining applicability of portable cluster size, used with cuLaunchKernelEx.
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUlaunchAttributePortableClusterMode_enum
impl CUlaunchAttributePortableClusterMode_enum
Sourcepub const CU_LAUNCH_PORTABLE_CLUSTER_MODE_DEFAULT: CUlaunchAttributePortableClusterMode_enum
pub const CU_LAUNCH_PORTABLE_CLUSTER_MODE_DEFAULT: CUlaunchAttributePortableClusterMode_enum
The default to use for allowing non-portable cluster size on launch - uses current function attribute for CUfunction_attribute_enum::CU_FUNC_ATTRIBUTE_NON_PORTABLE_CLUSTER_SIZE_ALLOWED.
Sourcepub const CU_LAUNCH_PORTABLE_CLUSTER_MODE_REQUIRE_PORTABLE: CUlaunchAttributePortableClusterMode_enum
pub const CU_LAUNCH_PORTABLE_CLUSTER_MODE_REQUIRE_PORTABLE: CUlaunchAttributePortableClusterMode_enum
Specifies that the cluster size requested must be a portable size.
Sourcepub const CU_LAUNCH_PORTABLE_CLUSTER_MODE_ALLOW_NON_PORTABLE: CUlaunchAttributePortableClusterMode_enum
pub const CU_LAUNCH_PORTABLE_CLUSTER_MODE_ALLOW_NON_PORTABLE: CUlaunchAttributePortableClusterMode_enum
Specifies that the cluster size requested may be a non-portable size.
Trait Implementations§
impl Copy for CUlaunchAttributePortableClusterMode_enum
impl Eq for CUlaunchAttributePortableClusterMode_enum
Source§impl Ord for CUlaunchAttributePortableClusterMode_enum
impl Ord for CUlaunchAttributePortableClusterMode_enum
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 CUlaunchAttributePortableClusterMode_enum
impl PartialOrd for CUlaunchAttributePortableClusterMode_enum
impl StructuralPartialEq for CUlaunchAttributePortableClusterMode_enum
Auto Trait Implementations§
impl Forget for CUlaunchAttributePortableClusterMode_enum
impl Freeze for CUlaunchAttributePortableClusterMode_enum
impl Move for CUlaunchAttributePortableClusterMode_enum
impl RefUnwindSafe for CUlaunchAttributePortableClusterMode_enum
impl Send for CUlaunchAttributePortableClusterMode_enum
impl Sync for CUlaunchAttributePortableClusterMode_enum
impl Unpin for CUlaunchAttributePortableClusterMode_enum
impl UnsafeUnpin for CUlaunchAttributePortableClusterMode_enum
impl UnwindSafe for CUlaunchAttributePortableClusterMode_enum
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