MCPcopy Create free account
hub / github.com/F-Stack/f-stack / acl_check_avx512_cpu_flags

Function acl_check_avx512_cpu_flags

dpdk/lib/acl/rte_acl.c:145–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143
144#ifdef CC_AVX512_SUPPORT
145static int
146acl_check_avx512_cpu_flags(void)
147{
148 return (rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX512F) &&
149 rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX512VL) &&
150 rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX512CD) &&
151 rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX512BW));
152}
153#endif
154
155/*

Callers 1

acl_check_alg_x86Function · 0.85

Calls 1

rte_cpu_get_flag_enabledFunction · 0.50

Tested by

no test coverage detected