Skip to content

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

Closed
@antonwolfy

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.

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