Intel Math Kernel Library

Intel oneAPI Math Kernel Library
開発元 インテル
初版 2003年5月9日(23年前) (2003-05-09)
最新版
2025.0 / 2024年10月16日(2年前) (2024-10-16)
対応OS Windows
Linux
プラットフォーム

CPU

GPU

  • Intel UHD Graphics
  • Intel Iris Xe graphics
  • Intel Arc graphics
  • Intel Data Center GPU Flex シリーズ
  • Intel Data Center GPU Max シリーズ
種別 ライブラリ
フレームワーク
ライセンス プロプライエタリ
フリーウェア
公式サイト software.intel.com/mkl
テンプレートを表示

Intel oneAPI Math Kernel Library (oneMKL) は、インテルが開発している、科学・工学・金融アプリケーション向けに提供される最適化(高速化)された数学ルーチンを含むライブラリである。提供される中心的な数学関数にはBLAS、LAPACK、ScaLAPACK(英語版)、スパースソルバー(疎行列)、FFT、ベクトル演算が含まれている。インテルのCPUおよびGPUをサポートしている。オペレーティングシステムはWindows、Linuxで利用可能である。対応プログラミング言語はC言語、C++、Fortran。

沿革

インテルは2003年5月9日にMath Kernel Libraryを公開し、それをblas.libと名づけた。ロシアと米国に存在する開発グループが開発を行った。ライブラリはスタンドアローンとバンドルされたバージョンの双方が存在する。

2015年8月31日より、コミュニティライセンスが作られ無償で利用できるようになった。

2020年12月リリースの 2021.1 より、GPU のサポートが追加になり、名称が Intel Math Kernel Library (Intel MKL) から Intel oneAPI Math Kernel Library (oneMKL) に変更になった。

バージョン2024.0よりmacOSの対応が削除された。

提供機能

下記機能を提供している。

MKLにはFFTWおよびLAPACKと互換性のあるインターフェイスを持った関数群が実装されている。

かつて提供されていた機能

バージョン2020でディープラーニングの機能は削除された。後継は Intel oneAPI Deep Neural Network Library (oneDNN) 。

対応デバイス

対応デバイスは以下の通り。

古いCPUは対応しておらず、例えば、Itaniumのサポートは10.2 で終了し、Xeon Phi x100のサポートは2017 Update 4で終了した。

また、AMDなどインテル以外の会社のCPUはサポートしていない。AMD からも同様の物として AMD Optimizing CPU Libraries (AOCL) がリリースされているほか、BLASに関してはOpenBLASがAMDのCPUをサポートしている。

批判

インテルはインテルのプロセッサと非インテルのプロセッサ上でオープンソースのライブラリやAMDのライブラリよりもパフォーマンスが優位であるとの主張を実証するため、ベンチマークを公開した。にもかかわらず64ビットバージョンのMKLは非インテルプロセッサでの最適化があまりなされていないとの批判が根強い。関連する議論は英語版ウィキペディアの記事 "criticism of Intel C++ compiler" を参照のこと。

oneMKL インターフェイス

oneAPI Math Kernel Library (oneMKL) Interfaces を Apache License 2.0 のオープンソースで配布している。こちらから、Intel の CPU, GPU に加えて、NVIDIA と AMD の GPU に対して、oneMKL での API で呼び出しが可能になる。AMD の CPU (AMD Optimizing CPU Libraries) には非対応。対応 OS は Linux と Windows。

脚注

  1. ↑ “Intel® oneAPI Math Kernel Library (oneMKL) Bug Fixes”. Intel. 2023年9月13日閲覧。
  2. 1 2 3 4 5 6 Intel® Math Kernel Library (Intel® MKL) | Intel® Software
  3. 1 2 No Cost Options for Intel Math Kernel Library (MKL), Support Yourself, Royalty-Free | Intel® Developer Zone
  4. ↑ “Intel launches library tool for developers.(Intel Math Kernel Library 6.0 )(Brief Article)”. Telecomworldwire. 2003年5月9日. 2009年11月29日閲覧.
  5. ↑ “Intel® oneAPI Math Kernel Library (oneMKL) 2021 Release Notes”. Intel. 2023年9月13日閲覧。
  6. ↑ “Intel® oneAPI Math Kernel Library (oneMKL) Release Notes”. Intel. 2024年11月9日閲覧。
  7. ↑ Developer Reference for Intel® Math Kernel Library 2018 - C
  8. ↑ “Intel® Math Kernel Library Release Notes and New Features”. Intel. 2023年10月10日閲覧。
  9. ↑ TensorFlow* Optimizations on Modern Intel® Architecture | Intel® Software
  10. ↑ Intel Optimized Tensorflow Wheel Now Available | Intel® Software
  11. ↑ Installing and Building MXNet with Intel® MKL | Intel® Software
  12. ↑ intel/caffe: This fork of BVLC/Caffe is dedicated to improving performance of this deep learning framework when running on CPU, in particular Intel® Xeon processors (HSW+) and Intel® Xeon Phi processors
  13. ↑ intel/Theano: This fork of Theano/Theano is dedicated to improve its performance on CPU device, in particular Intel® Xeon® processors and Intel® Xeon Phi™ processors.
  14. ↑ NervanaSystems/neon: Intel® Nervana™ reference deep learning framework committed to best performance on all hardware
  15. ↑ 01org/mkl-dnn: Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN)
  16. ↑ intel/chainer: A flexible framework of neural networks for deep learning
  17. ↑ Intel® MKL 10.3 Release Notes | Intel® Software
  18. ↑ Intel® Math Kernel Library (Intel® MKL) 2018 Release Notes | Intel® Software
  19. ↑ “AMD Optimizing CPU Libraries (AOCL)”. AMD. 2023年9月13日閲覧。
  20. ↑ oneapi-src/oneMKL: oneAPI Math Kernel Library (oneMKL) Interfaces - GitHub

関連項目

外部リンク