Skip to content

stream has to be keyword-only argument in to_device method #1965

Description

@antonwolfy

According to python array API notation:

array.to_device(device: device, /, *, stream: int | Any | None = None) → array

but it is not followed by dpctl implementation, where:

def to_device(self, target_device, stream=None):

Also it seems stream argument is not covered by any test in dpctl.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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