pub struct AcceleratorCapabilities {
pub max_signal_size: usize,
pub max_sparsity: usize,
pub supported_data_types: Vec<String>,
pub memory_bandwidth_gb_s: f64,
pub peak_throughput_gflops: f64,
pub power_consumption_watts: f64,
pub latency_us: f64,
pub supports_parallel: bool,
pub supports_pipeline: bool,
pub custom_features: HashMap<String, String>,
}Expand description
Hardware acceleration capabilities
Fields§
§max_signal_size: usizeMaximum signal size supported
max_sparsity: usizeMaximum sparsity level supported
supported_data_types: Vec<String>Supported data types
memory_bandwidth_gb_s: f64Memory bandwidth in GB/s
peak_throughput_gflops: f64Peak compute throughput in GFLOPS
power_consumption_watts: f64Power consumption in watts
latency_us: f64Latency characteristics
supports_parallel: boolSupports parallel execution
supports_pipeline: boolSupports pipeline processing
custom_features: HashMap<String, String>Custom acceleration features
Trait Implementations§
Source§impl Clone for AcceleratorCapabilities
impl Clone for AcceleratorCapabilities
Source§fn clone(&self) -> AcceleratorCapabilities
fn clone(&self) -> AcceleratorCapabilities
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 AcceleratorCapabilities
impl Debug for AcceleratorCapabilities
Auto Trait Implementations§
impl Freeze for AcceleratorCapabilities
impl RefUnwindSafe for AcceleratorCapabilities
impl Send for AcceleratorCapabilities
impl Sync for AcceleratorCapabilities
impl Unpin for AcceleratorCapabilities
impl UnwindSafe for AcceleratorCapabilities
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more