opt-matmul, Qopt-matmul

Enables or disables a compiler-generated Matrix Multiply (matmul) library call.

IDE Equivalent

Windows: Optimization > Enable Matrix Multiply Library Call

Linux: Optimization > Optimize Matrix Multiplication

Mac OS X: None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux:

-opt-matmul

-no-opt-matmul

Mac OS X:

None

Windows:

/Qopt-matmul

/Qopt-matmul-

Arguments

None

Default

-no-opt-matmul
or/Qopt-matmul-

The matmul library call optimization does not occur unless this option is enabled or certain other compiler options are specified (see below).

Description

This option enables or disables a compiler-generated Matrix Multiply (MATMUL) library call.

Options -opt-matmul and /Qopt-matmul tell the compiler to identify matrix multiplication loop nests (if any) and replace them with a matmul library call for improved performance. The resulting executable may get additional performance gain on Intel® microprocessors than on non-Intel microprocessors.

This option is enabled by default if options O3 and -parallel (Linux* OS) or /Qparallel (Windows*) are specified. To disable this optimization, specify -no-opt-matmul or /Qopt-matmul-.

This option has no effect unless option O2 or higher is set.

Note iconNote

Many routines in the MATMUL library are more highly optimized for Intel® microprocessors than for non-Intel microprocessors.

Alternate Options

None

See Also


Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.