Skip to content

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

Closed
@leofang

Description

@leofang

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.

Metadata

Metadata

Assignees

Labels

P1Medium priority - Should docuda.coreEverything related to the cuda.core moduleenhancementAny code-related improvements

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions