We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13036e7 commit a7fc816Copy full SHA for a7fc816
crates/vm/src/arch/segment.rs
@@ -70,6 +70,13 @@ impl DefaultSegmentationStrategy {
70
max_cells_per_chip_in_segment: max_segment_len * 120,
71
}
72
73
+
74
+ pub fn new(max_segment_len: usize, max_cells_per_chip_in_segment: usize) -> Self {
75
+ Self {
76
+ max_segment_len,
77
+ max_cells_per_chip_in_segment,
78
+ }
79
80
81
82
impl SegmentationStrategy for DefaultSegmentationStrategy {
0 commit comments