pub struct SubDeviceInfo {
pub index: usize,
pub name: String,
pub eu_count: u32,
}Expand description
Metadata for a single Level Zero sub-device (compute tile).
Fields§
§index: usizeZero-based tile index within the parent device.
name: StringHuman-readable device name (may include tile index suffix).
eu_count: u32Reported number of EU/XVE execution units on this tile.
Trait Implementations§
Source§impl Clone for SubDeviceInfo
impl Clone for SubDeviceInfo
Source§fn clone(&self) -> SubDeviceInfo
fn clone(&self) -> SubDeviceInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SubDeviceInfo
impl RefUnwindSafe for SubDeviceInfo
impl Send for SubDeviceInfo
impl Sync for SubDeviceInfo
impl Unpin for SubDeviceInfo
impl UnsafeUnpin for SubDeviceInfo
impl UnwindSafe for SubDeviceInfo
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