Xsycl-target

ターゲットのデバイス・コンパイル・ツール・チェーンの指定されたツールに渡すオプションを有効にします。このコンパイラー・オプションは SYCL* オフロードをサポートします。これは DPC++ 固有のコンテンツです。

構文

Linux*:

-Xsycl-target-tool=T "options"

Windows*:

-Xsycl-target-tool=T "options"

引数

tool

次のいずれかです。

frontend

ターゲットトリプル T 向けの Standard Portable Intermediate Representation (SPIR-V*) ベースのデバイス・コンパイラーのフロントエンドとミドルエンドを示します。

ミドルエンドは、SPIR-V* を生成する SPIR-V* ベースのデバイス・コンパイラーの一部です。この SPIR-V* は、dpcpp ドライバーによりターゲット T のバックエンドに渡されます。

backend

実行時のターゲットトリプル T の Ahead of Time (AOT) コンパイルとターゲット T の Just in Time (JIT) コンパイルを示します。

linker

ターゲットトリプル T のデバイス・コード・リンカーを示します。

一部のターゲットでは 1 つのコンポーネントに frontendbackend が含まれている場合があります。その場合、オプションはマージされます。

T

ターゲット・トリプル・デバイス。

options

tool に渡すオプション。

デフォルト

オフ

オプションはツールに渡されません。

説明

このオプションは、ターゲットのデバイス・コンパイル・ツール・チェーンの指定されたツールに渡すオプションを有効にします。オプションは SYCL* オフロードをサポートします。

IDE オプション

Visual Studio*: [Linker] > [General] > [Pass <arg> to the backend of target device compiler specified by <triple>] (target-backend)

[DPC++] > [General] > [Pass <arg> to the frontend of target device compiler] (target-frontend)

[Linker] > [General] > [Pass <arg> to the device code linker] (target-linker)

Eclipse*: [Linker] > [General] > [Pass <arg> to the backend of target device compiler specified by <triple>] (target-backend)

[Intel® oneAPI DPC++ Compiler] > [General] > [Pass <arg> to the frontend of target device compiler] (target-frontend)

[Linker] > [General] > [Pass <arg> to the device code linker] (target-linker)

代替オプション

なし。

関連情報