Visible to Intel only — GUID: GUID-8E893CD2-D136-4236-8A4C-E8C04B29A8CC
Visible to Intel only — GUID: GUID-8E893CD2-D136-4236-8A4C-E8C04B29A8CC
qmkl-sycl-impl, Qmkl-sycl-impl
Lets you link to one or more specific Intel® oneAPI Math Kernel Library (oneMKL) SYCL libraries.
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:
|
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 oneMKL SYCL libraries.
It is not supported for static linking.
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
Alternate Options
None
Examples
The following shows examples of using this option:
icpx -fsycl -qmkl -qmkl-sycl-impl=blas file.cpp // Linux icx /fsycl /Qmkl /Qmkl-sycl-impl:blas file.cpp // 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:
icpx -qmkl -qmkl-sycl-impl=blas file.cpp icpx -fsycl -qmkl-sycl-impl=blas file.cpp