Enum cuda_oxide::context::LimitType [−][src]
#[repr(u32)]
pub enum LimitType {
StackSize,
PrintfFifoSize,
MallocHeapSize,
DevRuntimeSyncDepth,
DevRuntimePendingLaunchCount,
MaxL2FetchGranularity,
PersistingL2CacheSize,
}Expand description
Context limit types
Variants
GPU thread stack size
GPU printf FIFO size
GPU malloc heap size
GPU device runtime launch synchronize depth
GPU device runtime pending launch count
A value between 0 and 128 that indicates the maximum fetch granularity of L2 (in Bytes). This is a hint
A size in bytes for L2 persisting lines cache size
Trait Implementations
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for LimitTypeimpl UnwindSafe for LimitTypeBlanket Implementations
Mutably borrows from an owned value. Read more