gpu-hotspots Command Line Analysis

Use the gpu-hotspots value to launch the GPU Compute/Media Hotspots analysis to:

  • Define GPU tasks with high GPU utilization, estimate the effectiveness of this utilization, and identify possible reasons for stalls or low occupancy

  • Identify how effectively your application uses OpenCL kernels (for Linux* and Window* targets only)

  • Analyze execution of Intel Media SDK tasks over time (for Linux targets only)

  • Explore GPU usage and analyze a software queue for GPU engines at each moment of time

  • Explore the performance of your application per selected GPU metrics over time

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 Compute/Media Hotspots analysis, enter:

$ amplxe-cl -help collect gpu-hotspots

Example

This example runs GPU Compute/Media Hotspots analysis with enabled OpenCL™ kernels tracing on the specified Linux* 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:

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)