Visible to Intel only — GUID: GUID-DBA5FB29-E0D1-456B-8E32-E30ED322BD91
Visible to Intel only — GUID: GUID-DBA5FB29-E0D1-456B-8E32-E30ED322BD91
Using Code Examples
The Intel® oneAPI Math Kernel Library (oneMKL) package includes code examples, located in the examples subdirectory of the installation directory. Use the examples to determine:
- Whether Intel® oneAPI Math Kernel Library (oneMKL) is working on your system
- How to call the library
- How to link the library
If an Intel® oneAPI Math Kernel Library (oneMKL) component that you selected during installation includes code examples, these examples are provided in a separate archive. Extract the examples from the archives before use.
For each component, the examples are grouped in subdirectories mainly by Intel® oneAPI Math Kernel Library (oneMKL) function domains and programming languages. For instance, theblas subdirectory (extracted from the examples_core archive) contains a makefile to build the BLAS examples and the vmlc subdirectory contains the makefile to build the C examples for Vector Mathematics functions. Source code for the examples is in the next-level sources subdirectory.