pub unsafe extern "C" fn cusolverDnGetMathMode(
handle: cusolverDnHandle_t,
mode: *mut cusolverMathMode_t,
) -> cusolverStatus_tExpand description
This function queries the math modes which are set for handle. Note that math modes can be combined, e.g., cusolverDnSetMathMode(handle, CUSOLVER_FP32_EMULATED_BF16X9_MATH | CUSOLVER_FP64_EMULATED_FIXEDPOINT_MATH). Please see cusolverMathMode_t for allowed combinations.
cusolverStatus_t::CUSOLVER_STATUS_SUCCESS: The mode was set successfully.
cusolverStatus_t::CUSOLVER_STATUS_NOT_INITIALIZED: The library was not initialized.
cusolverStatus_t::CUSOLVER_STATUS_INVALID_VALUE: modes is a NULL pointer.
§Parameters
handle: Handle to the cuSolverDN library context.
§Return value
cusolverStatus_t::CUSOLVER_STATUS_INVALID_VALUE:modesis aNULLpointer.cusolverStatus_t::CUSOLVER_STATUS_NOT_INITIALIZED: The library was not initialized.cusolverStatus_t::CUSOLVER_STATUS_SUCCESS: The mode was set successfully.