oneDPL
oneDPL copied to clipboard
[oneDPL] A fix - added missed synchronization between two SYCL patterns.
In some algorithm patterns there are calls of more then one SYCL backend patterns. As far as SYCL backend patterns are asynchronous, we have to make synch between the them. It might be set SYCL dependencies or "wait" of the first pattern at least. "Setting SYCL dependencies" is more preferable and right approach. But, currently, SYCL backend API doesn't have possibility to pass the any dependencies. It should be re-designed in the future... But now we can apply simple fix - to wait of the first SYCL backend pattern call.