#[repr(u32)]pub enum LimitType {
StackSize = 0,
PrintfFifoSize = 1,
MallocHeapSize = 2,
DevRuntimeSyncDepth = 3,
DevRuntimePendingLaunchCount = 4,
MaxL2FetchGranularity = 5,
PersistingL2CacheSize = 6,
}
Expand description
Context limit types
Variants§
StackSize = 0
GPU thread stack size
PrintfFifoSize = 1
GPU printf FIFO size
MallocHeapSize = 2
GPU malloc heap size
DevRuntimeSyncDepth = 3
GPU device runtime launch synchronize depth
DevRuntimePendingLaunchCount = 4
GPU device runtime pending launch count
MaxL2FetchGranularity = 5
A value between 0 and 128 that indicates the maximum fetch granularity of L2 (in Bytes). This is a hint
PersistingL2CacheSize = 6
A size in bytes for L2 persisting lines cache size
Trait Implementations§
Source§impl TryFromPrimitive for LimitType
impl TryFromPrimitive for LimitType
impl Copy for LimitType
Auto Trait Implementations§
impl Freeze for LimitType
impl RefUnwindSafe for LimitType
impl Send for LimitType
impl Sync for LimitType
impl Unpin for LimitType
impl UnwindSafe for LimitType
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