Enum libdrm_amdgpu_sys::AMDGPU::CHIP_CLASS
source · #[repr(u32)]pub enum CHIP_CLASS {
Show 15 variants
CLASS_UNKNOWN = 0,
R300 = 1,
R400 = 2,
R500 = 3,
R600 = 4,
R700 = 5,
EVERGREEN = 6,
CAYMAN = 7,
GFX6 = 8,
GFX7 = 9,
GFX8 = 10,
GFX9 = 11,
GFX10 = 12,
GFX10_3 = 13,
GFX11 = 14,
}Expand description
List of AMDGPU chip class (generation)
Variants§
CLASS_UNKNOWN = 0
R300 = 1
R400 = 2
R500 = 3
R600 = 4
R700 = 5
EVERGREEN = 6
CAYMAN = 7
GFX6 = 8
GFX7 = 9
GFX8 = 10
GFX9 = 11
GFX10 = 12
GFX10_3 = 13
GFX11 = 14
Implementations§
source§impl CHIP_CLASS
impl CHIP_CLASS
Trait Implementations§
source§impl Clone for CHIP_CLASS
impl Clone for CHIP_CLASS
source§fn clone(&self) -> CHIP_CLASS
fn clone(&self) -> CHIP_CLASS
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CHIP_CLASS
impl Debug for CHIP_CLASS
source§impl Display for CHIP_CLASS
impl Display for CHIP_CLASS
source§impl From<ASIC_NAME> for CHIP_CLASS
impl From<ASIC_NAME> for CHIP_CLASS
source§impl PartialEq for CHIP_CLASS
impl PartialEq for CHIP_CLASS
source§fn eq(&self, other: &CHIP_CLASS) -> bool
fn eq(&self, other: &CHIP_CLASS) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for CHIP_CLASS
impl PartialOrd for CHIP_CLASS
source§fn partial_cmp(&self, other: &CHIP_CLASS) -> Option<Ordering>
fn partial_cmp(&self, other: &CHIP_CLASS) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for CHIP_CLASS
impl Eq for CHIP_CLASS
impl StructuralEq for CHIP_CLASS
impl StructuralPartialEq for CHIP_CLASS
Auto Trait Implementations§
impl RefUnwindSafe for CHIP_CLASS
impl Send for CHIP_CLASS
impl Sync for CHIP_CLASS
impl Unpin for CHIP_CLASS
impl UnwindSafe for CHIP_CLASS
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