In this PR, an issue regarding asynchronous execution of dpnp.fft module is resolved. In the process of padding the input arrays, dependent event list (dep_evs) was obtained before creating the new zero array which by itself add a new dependent event to dep_evs list. So, we need to get dep_evs after calling dpnp.zeros.
[x] Have you provided a meaningful PR description?
[ ] Have you added a test, reproducer or referred to issue with a reproducer?
[x] Have you tested your changes locally for CPU and GPU devices?
[x] Have you made sure that new changes do not introduce compiler warnings?
[ ] Have you checked performance impact of proposed changes?
[ ] If this PR is a work in progress, are you filing the PR as a draft?
In this PR, an issue regarding asynchronous execution of
dpnp.fft
module is resolved. In the process of padding the input arrays, dependent event list (dep_evs
) was obtained before creating the new zero array which by itself add a new dependent event todep_evs
list. So, we need to getdep_evs
after callingdpnp.zeros
.