Skip to main content

Architecture

Trait Architecture 

Source
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§

Provided Methods§

Source

fn get_version(&self) -> u32

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§