# device-math-lib

Enables or disables certain device libraries. This is a deprecated option that may be removed in a future release.

## Syntax

Linux: | -device-math-lib=library -no-device-math-lib=library

macOS: | None

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

Parent topic: OpenMP* Options and Parallel Processing Options

## See Also

fopenmp-device-lib compiler option