Developer Guide
Intel® oneAPI DPC++/C++ Compiler Handbook for FPGAs
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-4FCBFF52-2ECA-4504-829B-73CEA78B893C
Visible to Intel only — GUID: GUID-4FCBFF52-2ECA-4504-829B-73CEA78B893C
Allow Wide Memory Initialization (-Xsallow-wide-device-globals)
By default, the Intel® oneAPI DPC++/C++ Compiler uses a conservative memory width (maximum 1024 bits) when compiling your kernel to prevent possible simulation errors.
Direct the compiler to skip these conservative choices and use a more optimal internal word width with the -Xsallow-wide-device-globals option of the icpx command as shown in the following example:
Example
icpx -fintelfpga -Xsallow-wide-device-globals source_file.cpp