* Returns CPU feature's ID, if the 'feature' was part of dispatched * features that had been configured via --cpu-dispatch * otherwise it returns 0 */
| 197 | * otherwise it returns 0 |
| 198 | */ |
| 199 | static inline int |
| 200 | npy__cpu_dispatch_fid(const char *feature) |
| 201 | { |
| 202 | #if !defined(NPY_DISABLE_OPTIMIZATION) && NPY_WITH_CPU_DISPATCH_N > 0 |
| 203 | NPY_WITH_CPU_DISPATCH_CALL(NPY__CPU_FEATURE_ID_CB, feature) |
| 204 | #endif |
| 205 | return 0; |
| 206 | } |
| 207 | |
| 208 | static int |
| 209 | npy__cpu_validate_baseline(void) |