Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 7/13/2023
Public

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

Document Table of Contents

mno-scatter, Qscatter-

Disables the generation of scatter instructions in auto-vectorization.

Syntax

Linux:

-mno-scatter

Windows:

/Qscatter-

Arguments

None

Default

OFF

Scatter instructions are enabled in auto-vectorization.

Description

This option disables the generation of scatter instructions in auto-vectorization.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.

IDE Equivalent

None

Alternate Options

None

Examples

The following shows examples of using this option:

Linux

icx -c -mno-gather -mno-scatter t.cpp 

Windows

icx /c /Qgather- /Qscatter- t.cpp 

See Also