Intel® Advisor User Guide

ID 766448
Date 7/13/2023
Public

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

Document Table of Contents

search-n-dim

Enable searching for an optimal N-dimensional offload.

Syntax

--search-n-dim

--no-search-n-dim

Default

On (search-n-dim)

Actions Modified

collect=projection

collect=offload

Usage

search-n-dim enables combining up to three nested parallel loops into an N-dimensional offload. This can reduce estimated execution time on GPU and Time by Compute. Use no-search-n-dim to estimate offloading for each loop separately.

NOTE:
Only loops with no dependencies can be combined into an N-dimensional offload.

Do not use this option with --threads or --enable-batching.

Example

  1. Run Survey Analysis.

  2. Run Trip Counts and FLOP analyses of the Characterization stage.

  3. Do not search for an optimal N-dimensional offload when modeling your application performance on a target device.

advisor --collect=survey --static-instruction-mix --project-dir=./advi_results -- ./myApplication
advisor --collect=tripcounts --flop --enable-data-transfer-analysis --project-dir=./advi_results -- ./myApplication
advisor --collect=projection --no-search-n-dim --project-dir=./advi_results

See Also