#[repr(i32)]pub enum ComputeCapability {
kNONE = 0,
kCURRENT = 1,
kSM75 = 75,
kSM80 = 80,
kSM86 = 86,
kSM89 = 89,
kSM120 = 120,
}Expand description
! ! \enum ComputeCapability ! ! \brief Describes compute capability that an engine will be built for. !
Variants§
kNONE = 0
! Default value if compute capability is not specified. This is invalid for engine build.
kCURRENT = 1
! Use the compute capability of the current GPU in the environment.
kSM75 = 75
! Target NVIDIA Turing GPU architecture (SM 7.5).
kSM80 = 80
! Target NVIDIA Ampere GPU architecture (SM 8.0).
kSM86 = 86
! Target NVIDIA Ampere GPU architecture (SM 8.6).
kSM89 = 89
! Target NVIDIA Ada Lovelace GPU architecture (SM 8.9).
kSM120 = 120
! Target NVIDIA Blackwell GPU architecture (SM 12.0).
Trait Implementations§
Source§impl Clone for ComputeCapability
impl Clone for ComputeCapability
Source§fn clone(&self) -> ComputeCapability
fn clone(&self) -> ComputeCapability
Returns a duplicate 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 ComputeCapability
impl Debug for ComputeCapability
Source§impl From<ComputeCapability> for ComputeCapability
impl From<ComputeCapability> for ComputeCapability
Source§fn from(value: ComputeCapability) -> Self
fn from(value: ComputeCapability) -> Self
Converts to this type from the input type.
Source§impl Hash for ComputeCapability
impl Hash for ComputeCapability
Source§impl Into<ComputeCapability> for ComputeCapability
impl Into<ComputeCapability> for ComputeCapability
Source§fn into(self) -> ComputeCapability
fn into(self) -> ComputeCapability
Converts this type into the (usually inferred) input type.
Source§impl Ord for ComputeCapability
impl Ord for ComputeCapability
Source§fn cmp(&self, other: &ComputeCapability) -> Ordering
fn cmp(&self, other: &ComputeCapability) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ComputeCapability
impl PartialEq for ComputeCapability
Source§impl PartialOrd for ComputeCapability
impl PartialOrd for ComputeCapability
impl Copy for ComputeCapability
impl Eq for ComputeCapability
impl StructuralPartialEq for ComputeCapability
Auto Trait Implementations§
impl Freeze for ComputeCapability
impl RefUnwindSafe for ComputeCapability
impl Send for ComputeCapability
impl Sync for ComputeCapability
impl Unpin for ComputeCapability
impl UnsafeUnpin for ComputeCapability
impl UnwindSafe for ComputeCapability
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