Developer Reference for Intel® oneAPI Math Kernel Library for C
DSS Implementation Details
To promote portability across platforms and ease of use across different languages, use the mkl_dss.h header file.
The header file defines symbolic constants for returned error values, function options, certain defined data types, and function prototypes.
Memory Allocation and Handles
You do not need to allocate any temporary working storage in order to use the Intel® oneAPI Math Kernel Library (oneMKL) DSS routines, because the solver itself allocates any required storage. To enable multiple users to access the solver simultaneously, the solver keeps track of the storage allocated for a particular application by using a handle data object.
Each of the Intel® oneAPI Math Kernel Library (oneMKL) DSS routines creates, uses, or deletes a handle. Consequently, any program calling an Intel® oneAPI Math Kernel Library (oneMKL) DSS routine must be able to allocate storage for a handle. The exact syntax for allocating storage for a handle varies from language to language. To standardize the handle declarations, the language-specific header files declare constants and defined data types that must be used when declaring a handle object in your code.
#include "mkl_dss.h"
_MKL_DSS_HANDLE_t handle;
function prototypes for languages that support prototypes
symbolic constants that are used for the returned error values
user options for the solver routines
constants indicating message severity.