Intel® C++ Compiler 18.0 Developer Guide and Reference

mgpu-asm-dump, Qgpu-asm-dump

Tells the compiler to generate a native assembly listing for the processor graphics code to be offloaded. This option only applies to Intel® Graphics Technology. On IA-32 architecture, you can only specify this option on Windows*.

Architecture Restrictions

Only available on Intel® 64 architecture targeting Intel® Graphics Technology, or when targeting Intel® Graphics Technology running on IA-32 architecture

Syntax

Linux:

-mgpu-asm-dump[=filename]

macOS:

None

Windows:

/Qgpu-asm-dump[:filename]

Arguments

filename

(Optional) Is the name of the output file in which to place the native assembly listing.

Default

OFF

No native assembly listing is generated for the processor graphics code to be offloaded.

Description

This option tells the compiler to generate a native assembly listing for the processor graphics code to be offloaded.

The assembly listing can only be generated when native code is generated at link time. Both the assembly listing and the target executable are generated.

To use this option, you must also specify option -mgpu-arch (Linux*) or /Qgpu-arch (Windows*).

IDE Equivalent

Visual Studio: Diagnostics > Generate Native Assembly Listing for Intel® Graphics Technology

Diagnostics > Native Assembly Listing for Intel® Graphics Technology File

Eclipse: Output Files > Generate Native Assembly Listing for Intel® Graphics Technology

Xcode: None

Alternate Options

None

See Also