Visible to Intel only — GUID: GUID-7E01ECFF-C81B-4A3E-9032-2AEB209A3EC7
Visible to Intel only — GUID: GUID-7E01ECFF-C81B-4A3E-9032-2AEB209A3EC7
DPCT1057
Message
Variable <variable name> was used in host code and device code. The Intel® DPC++ Compatibility Tool updated <variable name> type to be used in SYCL device code and generated new <host variable name> 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>.