Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 11/07/2023
Public

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

Document Table of Contents

Xopenmp-target

Enables options to be passed to the specified tool in the device compilation tool chain for the target. This feature is only available for ifx.

Syntax

Linux:

-Xopenmp-target-tool=T "options"

Windows:

-Xopenmp-target-tool=T "options"

Arguments

tool

Can be one of the following:

frontend

Indicates the frontend + middle end of the Standard Portable Intermediate Representation (SPIR-V*)-based device compiler for target triple T.

The middle end is the part of a SPIR-V*-based device compiler that generates SPIR-V*. This SPIR-V* is then passed by the compiler driver to the backend of target T.

backend

Indicates Ahead of Time (AOT) compilation for target triple T and Just in Time (JIT) compilation for target T at runtime.

linker

Indicates the device code linker for target triple T.

Some targets may have frontend and backend in one component; in that case, options are merged.

T

Is the target triple device.

options

Are the options you want to pass to tool.

Default

OFF

No options are passed to a tool.

Description

This option enables options to be passed to the specified tool in the device compilation tool chain for the target.

NOTE:

When OpenMP* offloading is enabled, this option only applies to device-specific compilation.

IDE Equivalent

None

Alternate Options

None