Intel® Advisor User Guide

ID 766448
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

gpu-sampling-interval

Specify time interval, in milliseconds, between GPU samples during Survey analysis.

GUI Equivalent

Project Properties > Analysis Target > Survey Hotspots Analysis > Advanced > GPU sampling interval

Syntax

--gpu-sampling-interval=<double>

Arguments

<double> is the number from 0.1 to 10 milliseconds between GPU samples.

Default

1

Actions Modified

collect=survey --profile-gpu

collect=roofline --profile-gpu

Usage

IMPORTANT:

GPU profiling is applicable only to Intel® Processor Graphics.

This option may affect the performance of your application on the CPU side. Increasing the wait time between samples can decrease collection overhead.

Example

Run a Survey analysis. Enable GPU profiling and increase the GPU sampling interval to 3 ms.

advisor --collect=survey --profile-gpu --gpu-sampling-interval=3 --project-dir=./advi_results -- ./myApplication

See Also