Remove synchronization necessity for logically independent FFTs #186
Replies: 2 comments
-
Hello, I believe the solution you are looking for is using push descriptors (#155). Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi,
It seems to me the reason is that currently the assumption with push descriptors is that the command buffer remains the same for all append calls. And thus, if the command buffer changes (the input and output buffers remain the same in my case), I tried modifying the code to check for command buffer change and modify |
Beta Was this translation helpful? Give feedback.
-
Hi!
I was trying to run multiple ffts simultaneously using the same VkFFT application and different input/main buffers by recording and submitting command buffers with different launch params one after another without waiting for the previous submit to complete. However, this seems to be impossible, and I got the following validation error:
I suppose the reason behind this is using the same descriptor set for each append, which results in said set being modified by the current append while being used by the previous submit, even though logically these ffts are independent. I haven't seen the requirement for synchronization of such independent fft executions mentioned in documentation, so it could be useful to add it there or, perhaps, remove the need for such synchronization (since it is an important issue in terms of performance in some cases).
Beta Was this translation helpful? Give feedback.
All reactions