Visible to Intel only — GUID: GUID-6EFEAB9D-AC35-42DA-B63C-77CA52742CC6
Intra-kernel Registered Assignment Function
The following table lists the syntax for intra-kernel registered assignment function (also referred to as kernel variables in SYCL*) supported in OpenCL and SYCL:
OpenCL | SYCL | Description |
---|---|---|
__fpga_reg() | ext::intel::fpga_reg() | Directs the compiler to insert at least one register between the operand and the return value of the function call. In general, it is not necessary to include the fpga_reg() function in your kernel code to achieve desired performance.
NOTE:
Intel® strongly recommends that you use the fpga_reg() function only if you are experienced in using the Intel® Quartus® Prime Pro Edition software performing advanced optimization for a specific target device. You must have sufficient knowledge about the placement of portions of the datapath on an FPGA device. |
Parent topic: Flags, Attributes, Directives, and Extensions