Skip to main content

oxilean_codegen/opt_vectorize/
simdcostmodel_traits.rs

1//! # SIMDCostModel - Trait Implementations
2//!
3//! This module contains trait implementations for `SIMDCostModel`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::SIMDCostModel;
12
13impl Default for SIMDCostModel {
14    fn default() -> Self {
15        SIMDCostModel {
16            scalar_ipc: 2.0,
17            vector_ipc: 1.5,
18            mem_bandwidth_bpc: 32.0,
19        }
20    }
21}