cuda-python icon indicating copy to clipboard operation
cuda-python copied to clipboard

`Event` should provide an inverse lookup to its origin `Device`/`Context`

Open leofang opened this issue 10 months ago • 0 comments

Follow-up of #487. Like CUDA streams, events today are also tied to a CUDA context, so it makes sense to offer the reverse link when an Event is created. This is particularly useful for bookkeeping, since unlike CUDA streams there is no driver/runtime API for querying the associated context.

leofang avatar Mar 05 '25 23:03 leofang