What part of stream state is captured when an event is recorded?

If I call cudaLaunchHostFunc and then cudaEventRecord on stream 1, and then stream 2 waits on the event,
will stream 2 wait for the host function to complete before proceeding ?

Stream 2 will wait until all operations that were submitted to stream 1 before cudaEventRecord have finished.

excellent, thanks !

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.