Skip to main content

cusolverDnGetEmulationSpecialValuesSupport

Function cusolverDnGetEmulationSpecialValuesSupport 

Source
pub unsafe extern "C" fn cusolverDnGetEmulationSpecialValuesSupport(
    handle: cusolverDnHandle_t,
    mask: *mut cudaEmulationSpecialValuesSupport_t,
) -> cusolverStatus_t
Expand description

This function queries the special floating point value support which is set for handle if floating point emulation is allowed.

The special floating point value support returned by this API only has an effect, once one of the following math modes is enabled (see also cusolverMathMode_t):

Otherwise, special floating point values are handled as expected.

cusolverStatus_t::CUSOLVER_STATUS_SUCCESS: The special value handling was queried successfully.

cusolverStatus_t::CUSOLVER_STATUS_NOT_INITIALIZED: The library was not initialized.

cusolverStatus_t::CUSOLVER_STATUS_INVALID_VALUE: mask is a NULL pointer.

§Parameters

  • handle: Handle to the cuSolverDN library context.
  • mask: The special value support of handle. Please see cudaEmulationSpecialValuesSupport_t for more information about the allowed values of mask.

§Return value