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

Function npy__cpu_dispatch_fid

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

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

Source from the content-addressed store, hash-verified

197 * otherwise it returns 0
198*/
199static inline int
200npy__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
208static int
209npy__cpu_validate_baseline(void)

Callers 1

npy_cpu_features.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected