Intel® C++ Compiler 16.0 User and Reference Guide

qoffload-arch, Qoffload-arch

Lets you specify the target architecture to use when offloading code. This option only applies to Intel® MIC Architecture and Intel® Graphics Technology. For Intel® Graphics Technology, you can also specify a virtual ISA (vISA).

Architecture Restrictions

Only available on Intel® 64 architecture targeting Intel® MIC Architecture, on IA-32 architecture targeting Intel® Graphics Technology, or on Intel® 64 architecture targeting Intel® Graphics Technology

Syntax

Linux:

-qoffload-arch=arch[: visa]

OS X:

None

Windows:

/Qoffload-arch:arch[: visa]

Arguments

arch

Specifies the target architecture. On Intel® 64 architecture targeting Intel® MIC Architecture, arch can be mic or mic-avx512. On IA-32 and Intel® 64 architectures targeting Intel® Graphics Technology, arch can be ivybridge (deprecated), haswell, or broadwell.

visa

Specifies the virtual ISA (vISA) version to be used. This optional argument is only allowed on IA-32 and Intel® 64 architectures targeting Intel® Graphics Technology. You can specify either visa3.0 (deprecated) or visa3.1.

Default

varies

On Intel® 64 architecture targeting Intel® MIC Architecture the default arch is assumed to be mic. On IA-32 and Intel® 64 architectures targeting Intel® Graphics Technology, the default arch is haswell and the default visa is visa3.1.

Description

This option lets you specify the target architecture to use when offloading code. For Intel® Graphics Technology, you can also specify a virtual ISA (vISA).

On IA-32 and Intel® 64 architectures targeting Intel® Graphics Technology, the compiler will check that the values specified for arch and visa are compatible; for example, visa3.1 cannot be specified for arch ivybridge. For architectures where multiple vISA versions are supported, the vISA version selected must be <= the vISA version supported by the driver installed on the system where the application is to be executed.

The following table shows the vISA version that each arch supports:

arch value

Supported vISA

ivybridge (deprecated)

vISA 3.0 (deprecated)

haswell

vISA 3.0 (deprecated), vISA 3.1

broadwell

vISA 3.1

IDE Equivalent

Visual Studio: Code Generation [Intel C++] > Offload Target Architecture

Eclipse: Code Generation > Offload Target Architecture

Xcode: None

Alternate Options

None

See Also