enum InferenceEngine::column_of_cpu_mapping_table¶
Overview¶
This enum contains defination of each columns in CPU mapping table which use processor id as index. More…
#include <ie_system_conf.h>
enum column_of_cpu_mapping_table
{
CPU_MAP_PROCESSOR_ID = 0,
CPU_MAP_SOCKET_ID = 1,
CPU_MAP_CORE_ID = 2,
CPU_MAP_CORE_TYPE = 3,
CPU_MAP_GROUP_ID = 4,
CPU_MAP_USED_FLAG = 5,
};Detailed Documentation¶
This enum contains defination of each columns in CPU mapping table which use processor id as index.
GROUP_ID is generated according to the following rules.
If one MAIN_CORE_PROC and one HYPER_THREADING_PROC are based on same Performance-cores, they are in one group.
If some EFFICIENT_CORE_PROC share one L2 cachle, they are in one group.
There are no duplicate group IDs in the system
Below is the example of CPU mapping table.
Four processors of two Pcore
Four processors of four Ecores shared L2 cache
PROCESSOR_ID | SOCKET_ID | CORE_ID | CORE_TYPE | GROUP_ID | Used 0 0 0 2 0 0 1 0 0 1 0 0 2 0 1 2 1 0 3 0 1 1 1 0 4 0 2 3 2 0 5 0 3 3 2 0 6 0 4 3 2 0 7 0 5 3 2 0
Enum Values¶
CPU_MAP_PROCESSOR_IDcolumn for processor id of the processor
CPU_MAP_SOCKET_IDcolumn for socket id of the processor
CPU_MAP_CORE_IDcolumn for hardware core id of the processor
CPU_MAP_CORE_TYPEcolumn for CPU core type corresponding to the processor
CPU_MAP_GROUP_IDcolumn for group id to the processor. Processors in one group have dependency.
CPU_MAP_USED_FLAGcolumn for resource management of the processor