Developer Reference
Migrating OpenCL™ FPGA Designs to SYCL*
ID
767849
Date
3/31/2023
Public
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-01B28FD8-4C99-4E9A-94BB-E2E1A1BA9C23
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. |
Parent topic: Flags, Attributes, Directives, and Extensions