<s>
Intel	O
oneAPI	B-Operating_System
Math	B-Language
Kernel	I-Language
Library	I-Language
(	O
Intel	O
oneMKL	O
;	O
formerly	O
Intel	B-Language
Math	I-Language
Kernel	I-Language
Library	I-Language
or	O
Intel	B-Language
MKL	I-Language
)	O
is	O
a	O
library	B-Library
of	O
optimized	O
math	O
routines	O
for	O
science	O
,	O
engineering	O
,	O
and	O
financial	O
applications	O
.	O
</s>
<s>
Core	O
math	O
functions	O
include	O
BLAS	B-Application
,	O
LAPACK	B-Application
,	O
ScaLAPACK	B-Application
,	O
sparse	O
solvers	O
,	O
fast	O
Fourier	O
transforms	O
,	O
and	O
vector	O
math	O
.	O
</s>
<s>
That	O
is	O
besides	O
the	O
math.h	O
standard	O
C	B-Language
library	B-Library
,	O
that	O
is	O
also	O
more	O
accurate	O
compared	O
to	O
glibc	B-Language
.	O
</s>
<s>
The	O
library	B-Library
supports	O
Intel	O
processors	O
and	O
is	O
available	O
for	O
Windows	O
,	O
Linux	B-Application
and	O
macOS	B-Application
operating	B-General_Concept
systems	I-General_Concept
.	O
</s>
<s>
Intel	O
oneAPI	B-Operating_System
Math	B-Language
Kernel	I-Language
Library	I-Language
is	O
not	O
to	O
be	O
confused	O
with	O
oneAPI	B-Operating_System
Math	B-Language
Kernel	I-Language
Library	I-Language
(	O
oneMKL	O
)	O
Interfaces	O
,	O
a	O
piece	O
of	O
open-source	O
glue	B-General_Concept
code	I-General_Concept
that	O
allows	O
Intel	B-Language
MKL	I-Language
routines	O
to	O
be	O
used	O
from	O
Data	O
Parallel	O
C++	B-Language
.	O
</s>
<s>
Intel	O
launched	O
the	O
Math	B-Language
Kernel	I-Language
Library	I-Language
on	O
May	O
9	O
,	O
2003	O
,	O
and	O
called	O
it	O
blas.lib	O
.	O
</s>
<s>
The	O
library	B-Library
was	O
available	O
in	O
a	O
standalone	O
form	O
,	O
free	O
of	O
charge	O
under	O
the	O
terms	O
of	O
Intel	O
Simplified	O
Software	O
License	O
which	O
allow	O
redistribution	O
.	O
</s>
<s>
Since	O
April	O
2020	O
,	O
MKL	O
has	O
become	O
part	O
of	O
oneAPI	B-Operating_System
.	O
</s>
<s>
Commercial	O
support	O
for	O
oneMKL	O
is	O
available	O
when	O
purchased	O
as	O
part	O
of	O
oneAPI	B-Operating_System
Base	O
Toolkit	O
.	O
</s>
<s>
MKL	O
and	O
other	O
programs	O
generated	O
by	O
the	O
Intel	B-Language
C++	I-Language
Compiler	I-Language
and	O
the	O
Intel	B-Language
DPC++	I-Language
Compiler	I-Language
improve	O
performance	O
with	O
a	O
technique	O
called	O
function	O
multi-versioning	O
:	O
a	O
function	O
is	O
compiled	O
or	O
written	O
for	O
many	O
of	O
the	O
x86	O
instruction	B-General_Concept
set	I-General_Concept
extensions	O
,	O
and	O
at	O
run-time	O
a	O
"	O
master	O
function	O
"	O
uses	O
the	O
CPUID	B-Architecture
instruction	O
to	O
select	O
a	O
version	O
most	O
appropriate	O
for	O
the	O
current	O
CPU	O
.	O
</s>
<s>
However	O
,	O
as	O
long	O
as	O
the	O
master	O
function	O
detects	O
a	O
non-Intel	O
CPU	O
,	O
it	O
almost	O
always	O
chooses	O
the	O
most	O
basic	O
(	O
and	O
slowest	O
)	O
function	O
to	O
use	O
,	O
regardless	O
of	O
what	O
instruction	B-General_Concept
sets	I-General_Concept
the	O
CPU	O
claims	O
to	O
support	O
.	O
</s>
<s>
This	O
has	O
netted	O
the	O
system	O
a	O
nickname	O
of	O
"	O
cripple	O
AMD	O
"	O
routine	O
since	O
2009	O
.	O
,	O
Intel	O
's	O
MKL	O
remains	O
the	O
numeric	O
library	B-Library
installed	O
by	O
default	O
along	O
with	O
many	O
pre-compiled	O
mathematical	O
applications	O
on	O
Windows	O
(	O
such	O
as	O
NumPy	B-Application
,	O
SymPy	B-Application
)	O
.	O
</s>
<s>
Although	O
relying	O
on	O
the	O
MKL	O
,	O
MATLAB	B-Language
implemented	O
a	O
workaround	O
starting	O
with	O
Release	O
2020a	O
which	O
ensures	O
full	O
support	O
for	O
AVX2	O
by	O
the	O
MKL	O
also	O
for	O
non	O
Intel	O
(	O
AMD	O
)	O
CPUs	O
.	O
</s>
<s>
Intel	B-Language
MKL	I-Language
has	O
the	O
following	O
functional	O
categories	O
:	O
</s>
<s>
Linear	B-Language
algebra	I-Language
:	O
BLAS	B-Application
routines	O
are	O
vector-vector	O
(	O
Level	O
1	O
)	O
,	O
matrix-vector	O
(	O
Level	O
2	O
)	O
and	O
matrix-matrix	O
(	O
Level	O
3	O
)	O
operations	O
for	O
real	O
and	O
complex	O
single	O
and	O
double	O
precision	O
data	O
.	O
</s>
<s>
LAPACK	B-Application
consists	O
of	O
tuned	O
LU	O
,	O
Cholesky	O
and	O
QR	O
factorizations	O
,	O
eigenvalue	O
and	O
least	O
squares	O
solvers	O
.	O
</s>
<s>
MKL	O
also	O
includes	O
Sparse	O
BLAS	B-Application
,	O
ScaLAPACK	B-Application
,	O
Sparse	O
Solver	O
,	O
Extended	O
Eigensolver	O
(	O
FEAST	O
,	O
PARDISO	O
)	O
,	O
PBLAS	B-Operating_System
and	O
BLACS	O
.	O
</s>
<s>
Since	O
MKL	O
uses	O
standard	O
interfaces	O
for	O
BLAS	B-Application
and	O
LAPACK	B-Application
,	O
the	O
application	O
which	O
uses	O
other	O
implementations	O
can	O
get	O
better	O
performance	O
on	O
Intel	O
and	O
compatible	O
processors	O
by	O
re-linking	O
with	O
MKL	O
libraries	O
.	O
</s>
<s>
Applications	O
written	O
with	O
the	O
open	O
source	O
FFTW	B-Application
can	O
be	O
easily	O
ported	O
to	O
MKL	O
by	O
linking	O
with	O
interface	O
wrapper	O
libraries	O
provided	O
as	O
part	O
of	O
MKL	O
for	O
easy	O
migration	O
.	O
</s>
<s>
Cluster	O
versions	O
of	O
LAPACK	B-Application
and	O
FFTs	O
are	O
also	O
available	O
as	O
part	O
of	O
MKL	O
to	O
take	O
advantage	O
of	O
MPI	O
parallelism	O
in	O
addition	O
to	O
single	O
node	O
parallelism	O
from	O
multithreading	O
.	O
</s>
