Intel® oneAPI Math Kernel Library Documentation
Documentation & Code Samples
Documentation
- Get Started Guide
- Release Notes & System Requirements
- Developer References: C | Fortran | SYCL*
- Developer Guides:
Windows* | Linux*
View Legacy Intel® Math Kernel Library (Intel® MKL) Documentation
Library Linking Guidance
This web-based utility identifies which build options for compiler and linker to use with oneMKL, depending on the build environment you use and the feature set you want to enable.
Code Samples
Linear Algebra
- Matrix Multiplication with CPUs and GPUs
Use this sample to examine the oneMKL matrix multiplication functionality. - Block Cholesky Decomposition
Learn how to use oneMKL routines for matrix multiplication, rank-k updates, triangular solves (BLAS), and Cholesky factorization (LAPACK).
Migration to SYCL*
- Fourier Correlation
Learn how to implement the Fourier correlation algorithm using SYCL, oneMKL, and Intel® oneAPI DPC++ Library (oneDPL) functions.
For Your Industry
- Finance: Monte Carlo European Options
See how to use the oneMKL random number generator (RNG) functionality to compute European option prices. - Finance: Black-Scholes
Learn how to use vector math and the RNG available in oneMKL to calculate the prices of options using the Black-Scholes formula. - Healthcare: Computed Tomography Reconstruction
Learn how to use discrete Fourier transform (DFT) routines to transform raw computed tomography (CT) data into a reconstructed image of the scanned object.
Python*, R*, and Julia*
- Using oneMKL in the Python* Ecosystem
Install oneMKL from conda* or PyPI*, link it into Python extensions built with Cython*, and use it from Python libraries. - Using oneMKL with R*
Set up R to use oneMKL for BLAS and LAPACK on Linux* and Windows*, and call oneMKL directly from your own R packages. - Using oneMKL with Julia*
Switch Julia's BLAS and LAPACK to oneMKL with MKL.jl, check that it's active, and load it optionally in your packages using Julia 1.9+ extensions.
Training Resources
Take Advantage of GPUs with SYCL*
Fourier Transform
Random Number Generation
Linear Systems Solvers
Case Studies
{"collectionRelationTags":{"relations":{"OR":["etm-73a51b08cfea4c8094fdf60cf20c9a29","etm-6b088d69d83243a0aa3b986645a7e74b"],"EXCLUDE":["etm-b7f74d27243f46bca8424d484f38e441","etm-3d4e144537af43c092d3eefc2734827a","etm-08dd1c4874304c9b9987050a09dd8567","etm-05429363730b40109b394df6a76dd677","etm-3baf460d15b141cfba51bdf58d2f2496","etm-96a2a467cd514dff85b6c153b364b0fa","etm-2f5e76b4e5e64d90a794e6a9d8dc26fd","etm-80b662df26a3410eb1ecf99114bc569b","etm-ead3671d63584869ab0df9a593366522","etm-906567252bdc432bbaeb908fabef076f","etm-72cbbe7d977c407e9bd60dc9a5a2d0c2","etm-86fd3d3462554a56b8e3c223be8417e1","etm-454697a6b0ca41e8a0f6606316e92b7c","etm-fc274692325e497dba29db02e84821c2","etm-c216d58933fc4051a502694b29828faa","etm-6f8479a5b1ce453c957fa689bfed124f","etm-b80eafde401841569b06de8ed36e4d61"],"AND":["etm-b0aba7177c084f5c8ead13817de85c67"]},"featuredIds":[]},"collectionId":"653293","resultPerPage":60.0,"filters":[{"facetId":"ContentType","type":"ContentType","deprecated":true,"name":"ContentType","position":0},{"facetId":"OperatingSystem","type":"OperatingSystem","deprecated":true,"name":"OperatingSystem","position":1},{"facetId":"@stm_10357_en","field":"stm_10357_en","type":"specific","basePath":"Programming Language","displayName":"Programming Language","deprecated":false,"rootFilter":"","position":2}],"coveoRequestHardLimit":"1000","accessDetailsPagePath":"/content/www/us/en/secure/design/internal/access-details.html","collectionGuids":["etm-b0aba7177c084f5c8ead13817de85c67"],"cardView":false,"sorting":"Newest","style":"standard","defaultImagesPath":"/content/dam/www/public/us/en/images/uatable/default-icons","coveoMaxResults":5000,"coveoSplitSize":500,"fpgaFacetRootPaths":"{\"fpgadevicefamily\":[\"Primary Content Tagging\",\"Intel® FPGAs\",\"Intel® Programmable Devices\"],\"quartusedition\":[\"Primary Content Tagging\",\"Intel® FPGAs\",\"Intel® Quartus Software\"],\"quartusaddon\":[\"Primary Content Tagging\",\"Intel® FPGAs\",\"Intel® Quartus Software - Add-ons\"],\"fpgaplatform\":[\"Primary Content Tagging\",\"Intel® FPGAs\",\"Intel® FPGA Platforms\"]}","newWrapperPageEnabled":true,"downloadCenterBookmarkEnabled":false,"descendingSortingForNumericalFacetsName":"[\"Intel® Quartus® Prime Pro Edition\",\"Intel® Quartus® Prime Lite Edition\",\"Intel® Quartus® Prime Standard Edition\",\"Quartus® II Subscription Edition\",\"Quartus® II Web Edition\"]","columnsConfiguration":{"idColumn":true,"dateColumn":true,"versionColumn":true,"contentTypeColumn":false,"columnsMaxSize":0},"dynamicColumnsConfiguration":[{"name":"DynamicColumn_id","type":"id","gtv":"ID","width":60,"selected":true},{"name":"DynamicColumn_date","type":"date","gtv":"Date","width":60,"selected":true},{"name":"DynamicColumn_version","type":"version","gtv":"Version","width":135,"selected":true}],"curatedDisplayName":"","updateCollateralMetadataEnabled":true,"relatedAssetsEnable":true,"disableExpandCollapseAll":false,"enableRelatedAssetsOnExpandAll":false,"disableBlueBanner":false,"isICS":false,"isUPE":false}