The following doc snippets seem to indicate that this is not yet supported:
Events can also be used to sequence tasks on multiple streams within the same context by specifying dependent tasks (not supported yet by cust).
~ https://docs.rs/cust/latest/cust/event/index.html
Just wondering what the state of cross-stream/cross-context Event-based synchronization is. I'm happy to just go ahead and test, but I figured I would ask. This seems to be something supported on the Cuda level, not necessarily something which would need to be implemented in cust, but I could be wrong.
Also, if this needs to be implemented, I'm wondering if folks might have some thoughts on current blockers and such?
Well, just reporting back here based on my initial experimentation.
Using events to synchronize work across multiple streams of the same device/context works.
I have not yet been able to test synchronization across multiple streams of different devices/contexts. So if others have been able to test, please advise.
The following doc snippets seem to indicate that this is not yet supported:
and
However, the following bit makes it seem as though it is indeed supported, even across different devices/contexts.
Just wondering what the state of cross-stream/cross-context Event-based synchronization is. I'm happy to just go ahead and test, but I figured I would ask. This seems to be something supported on the Cuda level, not necessarily something which would need to be implemented in cust, but I could be wrong.
Also, if this needs to be implemented, I'm wondering if folks might have some thoughts on current blockers and such?