Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help

Running gpu-hotspots Analysis from the Command Line

Use this analysis type to identify GPU tasks with high GPU utilization and estimate the effectiveness of this utilization. The tool infrastructure automatically aligns clocks across all cores in the entire system so that you can analyze some CPU-based workloads together with GPU-based workloads within a unified time domain.

Use the GPU Hotspots analysis to:

Syntax:

$ amplxe-cl -collect gpu-hotspots [-knob <knobName=knobValue>] -- <target> [target_options]

Knobs: gpu-sampling-interval, gpu-counters-mode, enable-gpu-runtimes, enable-stack-collection.

Note

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

$ amplxe-cl -help collect gpu-hotspots

Example:

This example runs GPU Hotspots analysis with enabled OpenCL™ kernels tracing on the specified application.

$ amplxe-cl -collect gpu-hotspots -knob enable-gpu-runtimes=true -- home/test/myApplication

What's Next

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

See Also