Developer Reference

  • 2021.1
  • 12/04/2020
  • Public Content
Contents

vmlGetMode

Gets the VM mode.

Syntax

mod
=
vmlGetMode
(
void
)
;
Include Files
  • mkl.h
Output Parameters
Name
Type
Description
mod
unsigned int
Specifies the packed
mode
parameter.
Description
The function
vmlGetMode
returns the VM
mode
parameter that controls accuracy, handling of denormalized numbers, and error handling options. The
mod
variable value is a combination of the values listed in the table "Values of the
mode
Parameter"
. You can obtain these values using the respective mask from the table "Values of Mask for the
mode
Parameter"
.
Values of Mask for the
mode
Parameter
Value of mask
Description
VML_ACCURACY_MASK
Specifies mask for accuracy
mode
selection.
VML_FTZDAZ_MASK
Specifies mask for FTZDAZ
mode
selection.
VML_ERRMODE_MASK
Specifies mask for error
mode
selection.
See example below:

Examples

accm = vmlGetMode(void )& VML_ACCURACY_MASK; denm = vmlGetMode(void )& VML_FTZDAZ_MASK; errm = vmlGetMode(void )& VML_ERRMODE_MASK;

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.