scirs2_stats/adaptive_memory_advanced/
adaptivememorymanager_traits.rs1use scirs2_core::numeric::{Float, NumCast, One, Zero};
12use scirs2_core::{
13 parallel_ops::*,
14 simd_ops::{PlatformCapabilities, SimdUnifiedOps},
15};
16
17use super::types::AdaptiveMemoryManager;
18
19impl<F> Default for AdaptiveMemoryManager<F>
20where
21 F: Float
22 + NumCast
23 + SimdUnifiedOps
24 + Zero
25 + One
26 + PartialOrd
27 + Copy
28 + Send
29 + Sync
30 + 'static
31 + std::fmt::Display,
32{
33 fn default() -> Self {
34 Self::new()
35 }
36}