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: usize
Maximum signal size supported
max_sparsity: usize
Maximum sparsity level supported
supported_data_types: Vec<String>
Supported data types
memory_bandwidth_gb_s: f64
Memory bandwidth in GB/s
peak_throughput_gflops: f64
Peak compute throughput in GFLOPS
power_consumption_watts: f64
Power consumption in watts
latency_us: f64
Latency characteristics
supports_parallel: bool
Supports parallel execution
supports_pipeline: bool
Supports 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