Xopenmp-target

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

構文

Linux*:

-Xopenmp-target-tool=T "options"

Windows*:

-Xopenmp-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 に渡すオプション。

デフォルト

オフ

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

説明

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

IDE オプション

Visual Studio*: [Linker] > [General] > [Pass <arg> to the backend of target device compiler specified by <triple> for OpenMP offload]

[DPC++] > [Language] > [Pass <arg> to the frontend of target device compiler for OpenMP offload]

[C/C++] > [Language [Intel C++]] > [Pass <arg> to the frontend of target device compiler for OpenMP offload]

[Linker] > [General] > [Pass <arg> to the device code linker for OpenMP offload]

Eclipse*: [Linker] (または [Intel C++ Linker]) > [General] > [Pass <arg> to the backend of target device compiler specified by <triple> for OpenMP offload]

[Intel® oneAPI DPC++ Compiler] > [Language] > [Pass <arg> to the frontend of target device compiler for OpenMP offload]

[Intel C++ Compiler] > [Language] > [Pass <arg> to the frontend of target device compiler for OpenMP offload]     

[Linker] (または [Intel C++ Linker]) > [General] > [Pass <arg> to the device code linker for OpenMP offload]

代替オプション

なし