Developer Guide and Reference

  • 2021.2
  • 04/07/2021
  • Public Content
  • Download as PDF
Contents

device-math-lib

Enables or disables certain device libraries. This is a deprecated option that will be removed in a future release.
This content is specific to C++; it does not apply to
DPC++
.

Syntax

Linux:
-device-math-lib
=
library
-no-device-math-lib
=
library
Windows:
/device-math-lib
:
library
/no-device-math-lib
:
library
Arguments
library
Possible values are:
fp32
Links the fp32 device math library.
fp64
Links the fp64 device math library.
To link more than one library, include a comma between the library names.
For example, if you want to link both the fp32 and fp64 device libraries, specify: fp32, fp64
Default
fp32, fp64
Both the fp32 and fp64 device libraries are linked.
Description
This option enables or disables certain device libraries.
IDE Equivalent
None
Alternate Options
None

Product and Performance Information

1

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