Skip to content

[FEA]: cuda.core.system: Provide convenience methods to convert between cuda.core.system.Device and cuda.core.Device #1507

@mdboom

Description

@mdboom

Is this a duplicate?

Area

cuda.core

Is your feature request related to a problem? Please describe.

cuda.core.system.Device is for accessing NVML-based information. By design, it does not initialize or load any CUDA libraries.

However, these devices correspond 1:1 with CUDA device handles (though the handles themselves are different). It would be nice to have convenience methods to convert between these two types.

Describe the solution you'd like

Add cuda.core.system.Device::to_cuda_device and cuda.core.Device::to_system_device.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

cuda.coreEverything related to the cuda.core moduletriageNeeds the team's attention

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions