Visible to Intel only — GUID: GUID-A73EBB58-CB82-4DAE-B3B6-88B8B0A0DA67
Visible to Intel only — GUID: GUID-A73EBB58-CB82-4DAE-B3B6-88B8B0A0DA67
DPCT1057
Message
Variable <variable name> was used in host code and device code. <variable name> type was updated to be used in SYCL device code and new <host variable name> was generated to be used in host code. You need to update the host code manually to use the new <host variable name>.
Detailed Help
If __constant__variable is used in both host code and device code (for example, the variable is included in two compilation units and they are compiled by different compilers), it will be migrated to a dpct::constant_memory object and a new host variable <host variable name>.
Suggestions to Fix
You need to update the host code manually to use the new <host variable name>.