Visible to Intel only — GUID: GUID-5892FD45-36AD-43E8-9715-42167FB5ACF5
Visible to Intel only — GUID: GUID-5892FD45-36AD-43E8-9715-42167FB5ACF5
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.