Developer Reference Intel® CPU Runtime for OpenCL™ Applications
ID
773107
Date
12/19/2018
Public
Optimization Options
The following is the optimization options support chart on the Intel® CPU processor device:
| Option | Description |
|---|---|
| -cl-opt-disable | This option disables all optimizations. Optimizations are enabled by default. |
| -cl-fast-relaxed-math | Sets the optimization options -cl-finite-math-only and -cl-unsafe-math-optimizations, which enable optimizations for floating-point arithmetic that may violate the IEEE 754 standard and the OpenCL™ numerical compliance requirements. To use the option constantly during the current build session in command line, set the CL_CONFIG_USE_FAST_RELAXED_MATH variable to True. See Performance-Related Configuration Variables on CPU for details. |