mkl_enable_instructions

Allows dispatching Intel® Advanced Vector Extensions.

Syntax

Fortran:

irc = mkl_enable_instructions(MKL_AVX_ENABLE)

C:

irc = mkl_enable_instructions(MKL_AVX_ENABLE);

Include Files

The FORTRAN 77 interface is specified in the mkl_service.fi include file and the C interface is specified in the mkl_service.h include file.

Input Parameters

MKL_AVX_ENABLE

Parameter indicating which new instructions the user needs to enable.

Output Parameters

Name

Type

Description

irc

FORTRAN: INTEGER*4

C: int

Value reflecting AVX usage status:

=1
MKL uses the AVX code, if the hardware supports Intel® AVX.
=0
The request is rejected. Most likely, mkl_enable_instructions has been called after another Intel MKL function.

Description

This function is currently void and deprecated but can be used in future Intel MKL releases.

Note iconNote

Always remember to add #include "mkl.h" to use the C usage syntax.

Optimization Notice

The Intel® Math Kernel Library (Intel® MKL) contains functions that are more highly optimized for Intel microprocessors than for other microprocessors. While the functions in Intel® MKL offer optimizations for both Intel and Intel-compatible microprocessors, depending on your code and other factors, you will likely get extra performance on Intel microprocessors.

While the paragraph above describes the basic optimization approach for Intel® MKL as a whole, the library may or may not be optimized to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include Intel® Streaming SIMD Extensions 2 (Intel® SSE2), Intel® Streaming SIMD Extensions 3 (Intel® SSE3), and Supplemental Streaming SIMD Extensions 3 (Intel® SSSE3) instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors.

Intel recommends that you evaluate other library products to determine which best meets your requirements.

See Also

Submit feedback on this help topic

Copyright © 1994 - 2010, Intel Corporation. All rights reserved.