You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should be a method of creating an Event without recording it immediately to a Stream. My understanding is that the C-API allows you to create an Event then decide what Stream to record it on later. The application of this for use in timing.
Specifically, in nvmath-python we have a timing context manager which automatically creates start and end events, but doesn't record the end event until the context closes. This type of thing is not currently possible with cuda.core.
@leofang suggested that we could implement something like
e1=Device().create_event(...)
Where the event is created from the Device instead of from the Stream.
Activity
carterbox commentedon Mar 3, 2025
I will attempt to implement this before EOD Wednesday March 5.
NEW: Create an Event without recording to Stream