pub struct RuntimeInfo {
pub stage_words: [u32; 4],
pub min_wave_lanes: u32,
pub max_wave_lanes: u32,
pub signature: Option<StageSignature>,
pub num_threads: Option<[u32; 3]>,
pub entry_name: Option<u32>,
pub group_shared_bytes: Option<u32>,
pub size: u32,
}Expand description
The runtime information of a PSV0 part.
Fields§
§stage_words: [u32; 4]The stage-dependent 16 bytes, as four words (see the module documentation).
min_wave_lanes: u32The smallest wave lane count the program expects (0 where it states none).
max_wave_lanes: u32The largest wave lane count the program expects (u32::MAX where it states none).
signature: Option<StageSignature>The stage and the signature’s counts, from 36 bytes of runtime info; the 24 bytes validator 1.0 writes have none.
num_threads: Option<[u32; 3]>The thread group size, from 48 bytes of runtime info.
entry_name: Option<u32>The offset of the entry point’s name in the string table, from 52 bytes of runtime info.
The bytes of group-shared memory a compute, mesh or amplification program uses, from 56 bytes of runtime info.
size: u32The size of the runtime info in bytes (24, 36, 48, 52 or 56), which says which of its versions the part holds.
Trait Implementations§
Source§impl Clone for RuntimeInfo
impl Clone for RuntimeInfo
impl Copy for RuntimeInfo
Source§impl Debug for RuntimeInfo
impl Debug for RuntimeInfo
impl Eq for RuntimeInfo
Source§impl PartialEq for RuntimeInfo
impl PartialEq for RuntimeInfo
impl StructuralPartialEq for RuntimeInfo
Auto Trait Implementations§
impl Forget for RuntimeInfo
impl Freeze for RuntimeInfo
impl RefUnwindSafe for RuntimeInfo
impl Send for RuntimeInfo
impl Sync for RuntimeInfo
impl Unpin for RuntimeInfo
impl UnsafeUnpin for RuntimeInfo
impl UnwindSafe for RuntimeInfo
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