pub trait Architecture {
// Required methods
fn warp_size(&self) -> u32;
fn is_wmma_capable(&self) -> bool;
fn is_mfma_capable(&self) -> bool;
// Provided method
fn get_version(&self) -> u32 { ... }
}Required Methods§
fn warp_size(&self) -> u32
fn is_wmma_capable(&self) -> bool
fn is_mfma_capable(&self) -> bool
Provided Methods§
fn get_version(&self) -> u32
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".