Get the global SIMD runtime (auto-detects on first call).
()
| 127 | |
| 128 | /// Get the global SIMD runtime (auto-detects on first call). |
| 129 | pub fn runtime() -> &'static SimdRuntime { |
| 130 | RUNTIME.get_or_init(SimdRuntime::detect) |
| 131 | } |
| 132 | |
| 133 | #[cfg(test)] |
| 134 | mod tests { |
no outgoing calls