* @brief Run-time detection if the host CPU supports AVX 2 extension. * * @return @c true if supported, @c false if not. */
| 191 | * @return @c true if supported, @c false if not. |
| 192 | */ |
| 193 | static bool cpu_supports_avx2() |
| 194 | { |
| 195 | if (!g_init) |
| 196 | { |
| 197 | detect_cpu_isa(); |
| 198 | } |
| 199 | |
| 200 | return g_cpu_has_avx2; |
| 201 | } |
| 202 | #endif |
| 203 | |
| 204 | /** |
no test coverage detected