Memory Access analysis identifies memory-related issues, like NUMA problems and bandwidth-limited accesses, and attributes performance events to memory objects (data structures), which is provided due to instrumentation of memory allocations/de-allocations and getting static/global variables from symbol information.


$ amplxe-cl -collect memory-access [-knob <knobName=knobValue>] [--] <target>

Knobs: sampling-interval, analyze-mem-objects (Linux* targets only), mem-object-size-min-thres (Linux targets only), dram-bandwidth-limits, analyze-openmp.


For the most current information on available knobs (configuration options) for the Memory Access analysis, enter:

$ amplxe-cl -help collect memory-access


This example shows how to run the Memory Access analysis on a Linux* myApplication app, collect data on dynamic memory objects, and evaluate maximum achievable local DRAM bandwidth before the collection starts:

$ amplxe-cl -collect memory-access -knob analyze-mem-objects=true -knob dram-bandwidth-limits=true -- home/test/myApplication

What's Next

When the data collection is complete, do one of the following to view the result:

Para obter informações mais completas sobre otimizações do compilador, consulte nosso aviso de otimização.
Selecione a cor do botão adesivo: 
Orange (only for download buttons)