Developer Reference

Migrating OpenCL™ FPGA Designs to SYCL*

ID 767849
Date 5/08/2024
Public

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.