Developer Guide

Contents

Relax the Order of Floating-Point Operations (
-Xsfp-relaxed
)

Include the
-Xsfp-relaxed
option in your command line to direct the
Intel® oneAPI
DPC++/C++
Compiler
to relax the order of arithmetic floating-point operations using a balanced tree hardware implementation.
Implementing a balanced tree structure leads to more efficient hardware at the expense of numerical variation in results.
To implement this optimization control, your program must be able to tolerate small variations in the floating-point results.
Example
To direct the
Intel® oneAPI
DPC++/C++
Compiler
to execute a balanced tree hardware implementation, invoke the following command:
dpcpp -fintelfpga -Xshardware -Xsfp-relaxed <source_file>.cpp
For more information, refer to Optimize Floating-point Operation.

Product and Performance Information

1

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