Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 10/31/2024
Public
Document Table of Contents

vmlSetErrStatus

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

Syntax

olderr = vmlSetErrStatus( status );

Include Files

  • mkl.h

Input Parameters

Name

Type

Description

status

const MKL_INT

Specifies the VM error status to be set.

Output Parameters

Name

Type

Description

olderr

int

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

Examples

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