Developer Reference

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

LAPACKE_get_nancheck

Gets the current NaN checking flag, which indicates whether NaN checking has been turned off or on.
int
flag
= LAPACKE_get_nancheck
(
)
;
Description
The function returns the current value for the LAPACKE NaN checking flag, which indicates whether or not LAPACKE routines check input matrices for NaNs.
Return Value
An integer value is returned which indicates the current NaN checking status.
The returned flag value is either 0 (OFF) or 1 (ON), even though any integer value can be used as an input parameter for
LAPACKE_set_nancheck
.
For example, the following code turns on NaN checking:
LAPACKE_set_nancheck(100); int flag = LAPACKE_get_nancheck(); // flag==1, not 100.

Product and Performance Information

1

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