Skip to content

Functions for selecting current device #247

Closed
@PokhodenkoSA

Description

@PokhodenkoSA

Now current device is changed via dpctl.device_context. Internally it changes current device at enter to context and return previous device on exit from context. Functions for changing current device should be provided in API.

Functions:

  • select_device
  • close

Also functions could provide access to internal contexts stack.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions