#[repr(u8)]pub enum GpuArchitecture {
Rtx2 = 75,
Rtx3 = 86,
Rtx4 = 89,
Rtx5 = 100,
}
Variants§
Implementations§
Source§impl GpuArchitecture
impl GpuArchitecture
Sourcepub fn gencode_val(&self) -> String
pub fn gencode_val(&self) -> String
pub fn compute_val(&self) -> String
pub fn sm_val(&self) -> String
Trait Implementations§
Source§impl Clone for GpuArchitecture
impl Clone for GpuArchitecture
Source§fn clone(&self) -> GpuArchitecture
fn clone(&self) -> GpuArchitecture
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 moreimpl Copy for GpuArchitecture
Auto Trait Implementations§
impl Freeze for GpuArchitecture
impl RefUnwindSafe for GpuArchitecture
impl Send for GpuArchitecture
impl Sync for GpuArchitecture
impl Unpin for GpuArchitecture
impl UnwindSafe for GpuArchitecture
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