Developer Reference

  • 2020.2
  • 07/15/2020
  • Public Content
Contents

vmlSetErrStatus

Sets the new VM Error Status according to
err
and stores the previous VM Error Status to
olderr
Sets the global VM Status according to new values and returns the previous VM Status
.

Syntax

olderr
=
vmlseterrstatus
(
status
)
Include Files
  • mkl_vml.f90
Input Parameters
Name
Type
Description
status
INTEGER
,
INTENT(IN)
Specifies the VM error status to be set.
Output Parameters
Name
Type
Description
olderr
INTEGER
Specifies the former VM error status.
Description
Table
"Values of the VM Status"
lists possible values of the
err
parameter.
Values of the VM Status
Status
Description
Successful Execution
VML_STATUS_OK
The execution was completed successfully.
Warnings
VML_STATUS_ACCURACYWARNING
The execution was completed successfully in a different accuracy mode.
Errors
VML_STATUS_BADSIZE
The function does not support the preset accuracy mode. The Low Accuracy mode is used instead.
VML_STATUS_BADMEM
NULL
pointer is passed.
VML_STATUS_ERRDOM
At least one of array values is out of a range of definition.
VML_STATUS_SING
At least one of the input array values causes a divide-by-zero exception or produces an invalid (
QNaN
) result.
VML_STATUS_OVERFLOW
An overflow has happened during the calculation process.
VML_STATUS_UNDERFLOW
An underflow has happened during the calculation process.

Examples

olderr =
vmlSetErrStatus
(
VML_STATUS_OK
);
olderr =
vmlSetErrStatus
(
VML_STATUS_ERRDOM
);
olderr =
vmlSetErrStatus
(
VML_STATUS_UNDERFLOW
);

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and 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. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804