Visible to Intel only — GUID: GUID-28FC3D00-4C3F-4654-B88D-45676121F251
Visible to Intel only — GUID: GUID-28FC3D00-4C3F-4654-B88D-45676121F251
DPCT1020
Message
The migration of <api name>, if it is called from __global__ or __device__ function, is not supported. You may need to redesign the code to use the host-side <api name> instead, which submits this call to the SYCL queue automatically.
Detailed Help
The warning message is generated in cases where the <api name> itself submits the SYCL* kernel to the command queue, and the caller of <api-name> is the SYCL kernel that is submitted to the command queue itself. It results in device-side enqueue of the kernel, which is not supported by SYCL 1.2.1.
Suggestions to Fix
Redesign the code to use the host-side API, which submits this call to the SYCL queue automatically.