#[repr(transparent)]pub struct CUctx_flags_enum(pub c_uint);Expand description
Context creation flags
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUctx_flags_enum
impl CUctx_flags_enum
Sourcepub const CU_CTX_SCHED_AUTO: CUctx_flags_enum
pub const CU_CTX_SCHED_AUTO: CUctx_flags_enum
Automatic scheduling.
Sourcepub const CU_CTX_SCHED_SPIN: CUctx_flags_enum
pub const CU_CTX_SCHED_SPIN: CUctx_flags_enum
Set spin as default scheduling.
Sourcepub const CU_CTX_SCHED_YIELD: CUctx_flags_enum
pub const CU_CTX_SCHED_YIELD: CUctx_flags_enum
Set yield as default scheduling.
Sourcepub const CU_CTX_SCHED_BLOCKING_SYNC: CUctx_flags_enum
pub const CU_CTX_SCHED_BLOCKING_SYNC: CUctx_flags_enum
Set blocking synchronization as default scheduling.
Sourcepub const CU_CTX_BLOCKING_SYNC: CUctx_flags_enum
pub const CU_CTX_BLOCKING_SYNC: CUctx_flags_enum
Set blocking synchronization as default scheduling.
Sourcepub const CU_CTX_SCHED_MASK: CUctx_flags_enum
pub const CU_CTX_SCHED_MASK: CUctx_flags_enum
Mask of the context scheduling-policy bits.
Sourcepub const CU_CTX_MAP_HOST: CUctx_flags_enum
pub const CU_CTX_MAP_HOST: CUctx_flags_enum
Deprecated: This flag was deprecated as of CUDA 11.0 and it no longer has any effect. All contexts as of CUDA 3.2 behave as though the flag is enabled.
Sourcepub const CU_CTX_LMEM_RESIZE_TO_MAX: CUctx_flags_enum
pub const CU_CTX_LMEM_RESIZE_TO_MAX: CUctx_flags_enum
Keep local memory allocation after launch.
Sourcepub const CU_CTX_COREDUMP_ENABLE: CUctx_flags_enum
pub const CU_CTX_COREDUMP_ENABLE: CUctx_flags_enum
Trigger coredumps from exceptions in this context.
Sourcepub const CU_CTX_USER_COREDUMP_ENABLE: CUctx_flags_enum
pub const CU_CTX_USER_COREDUMP_ENABLE: CUctx_flags_enum
Enable user pipe to trigger coredumps in this context.
Sourcepub const CU_CTX_SYNC_MEMOPS: CUctx_flags_enum
pub const CU_CTX_SYNC_MEMOPS: CUctx_flags_enum
Ensure synchronous memory operations on this context will synchronize.
Sourcepub const CU_CTX_FLAGS_MASK: CUctx_flags_enum
pub const CU_CTX_FLAGS_MASK: CUctx_flags_enum
Mask of the context flag bits defined by this ABI.
Trait Implementations§
Source§impl Clone for CUctx_flags_enum
impl Clone for CUctx_flags_enum
impl Copy for CUctx_flags_enum
Source§impl Debug for CUctx_flags_enum
impl Debug for CUctx_flags_enum
impl Eq for CUctx_flags_enum
Source§impl Hash for CUctx_flags_enum
impl Hash for CUctx_flags_enum
Source§impl Ord for CUctx_flags_enum
impl Ord for CUctx_flags_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 PartialEq for CUctx_flags_enum
impl PartialEq for CUctx_flags_enum
Source§impl PartialOrd for CUctx_flags_enum
impl PartialOrd for CUctx_flags_enum
impl StructuralPartialEq for CUctx_flags_enum
Auto Trait Implementations§
impl Forget for CUctx_flags_enum
impl Freeze for CUctx_flags_enum
impl Move for CUctx_flags_enum
impl RefUnwindSafe for CUctx_flags_enum
impl Send for CUctx_flags_enum
impl Sync for CUctx_flags_enum
impl Unpin for CUctx_flags_enum
impl UnsafeUnpin for CUctx_flags_enum
impl UnwindSafe for CUctx_flags_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