* Returns CPU feature's ID, if the 'feature' was part of baseline * features that had been configured via --cpu-baseline * otherwise it returns 0 */
| 184 | * otherwise it returns 0 |
| 185 | */ |
| 186 | static inline int |
| 187 | npy__cpu_baseline_fid(const char *feature) |
| 188 | { |
| 189 | #if !defined(NPY_DISABLE_OPTIMIZATION) && NPY_WITH_CPU_BASELINE_N > 0 |
| 190 | NPY_WITH_CPU_BASELINE_CALL(NPY__CPU_FEATURE_ID_CB, feature) |
| 191 | #endif |
| 192 | return 0; |
| 193 | } |
| 194 | /** |
| 195 | * Returns CPU feature's ID, if the 'feature' was part of dispatched |
| 196 | * features that had been configured via --cpu-dispatch |