threads

オフロードの先頭に使用する並列スレッド数を指定します。

GUI オプション

[プロジェクトのプロパティー] > [解析ターゲット] > [パフォーマンスのモデル化] > [その他のパラメーター]

構文

--threads=<integer>

引数

<integer> は、並列スレッド数です。選択したターゲットデバイスの構成をベースにモデルを決定するには、0 を指定します。

デフォルト

0

影響するアクション

collect=projection

collect=offload

  1. サーベイ解析を実行します。

  2. 特性化ステージのトリップカウント & FLOP 解析を実行します。

  3. オフロードヘッドごとに 3 つの並列スレッドを使用して、ターゲットデバイスでアプリケーションのパフォーマンスをモデル化します。

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 --threads=3 --project-dir=./advi_results

関連情報