[SYCL][Fusion] Take auxiliary resources from fused command groups (#12593)
Reductions use auxiliary resources to handle reduction temporal
buffers. Assign those auxiliary resources from each fused command
group to the placeholder fusion event. This event will not be marked
as completed after the fused reductions finish execution either if
fusion is completed, cancelled or aborted.
Test is updated to check every algorithm that is selected
automatically by `sycl::reduction`, i.e., every supported
algorithm. We also cover both cases (fusion taking and not taking
place).
Signed-off-by: Victor Perez <victor.perez@codeplay.com>
---------
Signed-off-by: Victor Perez <victor.perez@codeplay.com>