#[repr(i32)]pub enum ComputeCapability {
kNONE = 0,
kCURRENT = 1,
kSM75 = 75,
kSM80 = 80,
kSM86 = 86,
kSM89 = 89,
kSM120 = 120,
kSM121 = 121,
}Expand description
ComputeCapability
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).
kSM121 = 121
Target NVIDIA GB10 GPU (SM 12.1).
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ExternType for ComputeCapability
impl ExternType 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 PartialEq for ComputeCapability
impl PartialEq for ComputeCapability
Source§fn eq(&self, other: &ComputeCapability) -> bool
fn eq(&self, other: &ComputeCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ComputeCapability
impl StructuralPartialEq for ComputeCapability
impl UniquePtrTarget for ComputeCapability
impl VectorElement for ComputeCapability
impl WeakPtrTarget 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