Developer Reference

  • 2021.1
  • 12/04/2020
  • Public Content
Contents

VM Naming Conventions

The VM function names are
of mixed (lower and upper) case
.
The VM mathematical and pack/unpack function names have the following structure:
v
[
m
]<
?
>
<name>
<
mod
>
where
  • v
    is a prefix indicating vector operations.
  • [
    m
    ]
    is an optional prefix for mathematical functions that indicates additional argument to specify a VM mode for a given function call (see
    vmlSetMode
    for possible values and their description).
  • <
    ?
    >
    is a precision prefix that indicates one of the following data types:
    s
    float
    .
    d
    double
    .
    c
    MKL_Complex8
    .
    z
    MKL_Complex16
    .
  • <name>
    indicates the function short name
    , with some of its letters in uppercase
    . .
  • <mod>
    field
    (written in uppercase)
    is present only in the pack/unpack functions and indicates the indexing method used:
    i
    indexing with a positive increment
    v
    indexing with an index vector
    m
    indexing with a mask vector.
The VM service function names have the following structure:
vml
<name>
where
<name>
indicates the function short name
, with some of its letters in uppercase
. .
To call VM functions from an application program, use conventional function calls. For example, call the vector single precision real exponential function as
vsExp
(
n
,
a
,
y
);

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.