Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 6/24/2024
Public

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

Document Table of Contents

qmkl-sycl-impl, Qmkl-sycl-impl

Lets you link to one or more specific Intel® oneAPI Math Kernel (oneMKL) SYCL libraries. This feature is only available for ifx.

Syntax

Linux:

-qmkl-sycl-impl=arg[, arg,...]

Windows:

/Qmkl-sycl-impl:arg[, arg,...]

Arguments

arg

Tells the compiler which oneMKL* SYCL-specific library to link to. Possible values are:

blas

Links to the BLAS SYCL library.

dft

Links to the Discrete Fourier Transform (DFT) SYCL library.

lapack

Links to the LAPACK SYCL library.

rng

Links to the Random Number Generator (RNG) SYCL library.

sparse

Links to the Sparse BLAS SYCL library.

stats

Links to the Summary Statistic SYCL library.

vm

Links to the Vector Mathematics (VM) SYCL library.

Default

OFF

You must specify this option to link to a specific oneMKL* SYCL library.

Description

This option lets you link to one or more specific Intel® oneAPI Math Kernel (oneMKL) SYCL libraries.

It is not supported for static linking.

NOTE:

When using this option, you must also specify option -fsycl and -qmkl (Linux) or /Qmkl (Windows).

For information about available SYCL drivers, refer to Invoke the Compiler.

IDE Equivalent

None

Alternate Options

None

Examples

The following shows examples of using this option:

ifx -fsycl -qmkl -qmkl-sycl-impl=blas file.o      // Linux
ifx /fsycl /Qmkl /Qmkl-sycl-impl:blas file.obj    // Windows

If you do not also specify option -fsycl and [q or Q]mkl, you will see a diagnostic warning. For example, the following commands will produce such a diagnostic on Linux systems:

ifx -qmkl -qmkl-sycl-impl=blas file.o
ifx -fsycl -qmkl-sycl-impl=blas file.o

See Also