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