Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

VM Naming Conventions

The VM function names are lowercase.

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

    REAL (KIND=4).

    d

    REAL (KIND=8).

    c

    COMPLEX (KIND=4).

    z

    COMPLEX (KIND=8).

  • <name> indicates the function short name. See examples in Table "VM Mathematical Functions".

  • <mod> field 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. See examples in Table "VM Service Functions".

To call VM functions from an application program, use conventional function calls. For example, call the vector single precision real exponential function as

call vsexp ( n, a, y )

call vmsexp ( n, a, y, mode ) with a specified mode