enum ov::Affinity¶
Overview¶
Enum to define possible affinity patterns. More…
#include <properties.hpp>
enum Affinity
{
NONE = -1,
CORE = 0,
NUMA = 1,
HYBRID_AWARE = 2,
};Detailed Documentation¶
Enum to define possible affinity patterns.
Enum Values¶
NONEDisable threads affinity pinning.
COREPin threads to cores, best for static benchmarks.
NUMAPin threads to NUMA nodes, best for real-life, contented cases. On the Windows and MacOS* this option behaves as CORE
HYBRID_AWARELet the runtime to do pinning to the cores types, e.g. prefer the “big” cores for latency tasks. On the hybrid CPUs this option is default