pub enum HardwareTarget {
Esp32,
V0Appliance,
Desktop,
Fpga,
}Expand description
Hardware target for lane optimization
Variants§
Esp32
ESP32: 3-bit only, tiny models
V0Appliance
V0 Appliance: 5-bit streaming + 7-bit reasoning
Desktop
Desktop/Server: Full lane support
Fpga
FPGA: Deterministic 7-bit with witness logging
Implementations§
Source§impl HardwareTarget
impl HardwareTarget
Sourcepub fn supported_lanes(&self) -> Vec<PrecisionLane>
pub fn supported_lanes(&self) -> Vec<PrecisionLane>
Get supported lanes for this hardware
Sourcepub fn default_lane(&self) -> PrecisionLane
pub fn default_lane(&self) -> PrecisionLane
Get the default lane for this hardware
Trait Implementations§
Source§impl Clone for HardwareTarget
impl Clone for HardwareTarget
Source§fn clone(&self) -> HardwareTarget
fn clone(&self) -> HardwareTarget
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 Debug for HardwareTarget
impl Debug for HardwareTarget
Source§impl<'de> Deserialize<'de> for HardwareTarget
impl<'de> Deserialize<'de> for HardwareTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HardwareTarget
impl PartialEq for HardwareTarget
Source§impl Serialize for HardwareTarget
impl Serialize for HardwareTarget
impl Copy for HardwareTarget
impl Eq for HardwareTarget
impl StructuralPartialEq for HardwareTarget
Auto Trait Implementations§
impl Freeze for HardwareTarget
impl RefUnwindSafe for HardwareTarget
impl Send for HardwareTarget
impl Sync for HardwareTarget
impl Unpin for HardwareTarget
impl UnwindSafe for HardwareTarget
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