Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.4 KB

cpu_emulation.md

File metadata and controls

44 lines (29 loc) · 1.4 KB

Intel Software Development Emulator

Intel SDE can be used for emulating CPU architecture, checking for AVX/SSE transitions, bad pointers and data misalignment, etc.

It also supports debugging within emulation.

In general, the tool can be used for all kinds of troubleshooting activities except performance analysis.

See Documentation for more information

Usage examples:

  • Emulating Sapphire Rapids CPU for benchmark_app together with blob dumping, for example to debug some accuracy issue:
OV_CPU_BLOB_DUMP_FORMAT=TEXT OV_CPU_BLOB_DUMP_NODE_TYPE=Convolution \
/path/to/sde -spr -- ./benchmark_app --niter 1 --nstreams 1 -m path/to/model.xml
  • Running cpuFuncTests on some old architecture, for example Sandy Bridge:
/path/to/sde -snd -- ./cpuFuncTests
  • Count AVX/SSE transitions for the current host:
/path/to/sde -ast -- ./benchmark_app -m path/to/model.xml

NOTE: The best way to check for AVX/SSE transitions is to run within Alder Lake emulation:

/path/to/sde -adl -- ./benchmark_app -m path/to/model.xml

See also