Trait popcorn::hardware::Hardware
[−]
[src]
pub trait Hardware { fn name(&self) -> &str; fn hardware_type(&self) -> HardwareType; fn compute_units(&self) -> usize; }
Specifies Hardware behavior accross frameworks.
Required Methods
fn name(&self) -> &str
Returns the name of the Hardware
fn hardware_type(&self) -> HardwareType
Returns the device_type of the Hardware
fn compute_units(&self) -> usize
Returns the compute_units of the Hardware
Implementors
impl Hardware for Hardware