#[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 ExternType for ComputeCapability
impl ExternType for ComputeCapability
Source§impl Hash for ComputeCapability
impl Hash for ComputeCapability
Source§impl PartialEq for ComputeCapability
impl PartialEq for ComputeCapability
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 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