MCPcopy Create free account
hub / github.com/numpy/numpy / npy__cpu_baseline_fid

Function npy__cpu_baseline_fid

numpy/core/src/common/npy_cpu_features.c:186–193  ·  view source on GitHub ↗

* Returns CPU feature's ID, if the 'feature' was part of baseline * features that had been configured via --cpu-baseline * otherwise it returns 0 */

Source from the content-addressed store, hash-verified

184 * otherwise it returns 0
185*/
186static inline int
187npy__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

Callers 1

npy_cpu_features.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected