Developer Reference

Migrating OpenCL™ FPGA Designs to SYCL*

ID 767849
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Floating Point Optimizations

The following table list the float-point pragmas supported in OpenCL and their equivalents in SYCL*:

OpenCL SYCL Description
#pragma clang fp contract(off|fast) #pragma clang fp contract(off|fast|on) Controls whether the compiler can skip intermediate rounding and conversions mainly between double-precision arithmetic operations.
#pragma clang fp reassociate(on|off) #pragma clang fp reassociate(on|off) Controls the relaxing of the order of floating-point arithmetic operations within the code block to which this pragma is applied.