Skip to content

[Enhancement] Add device to ToCupy #640

@mrava87

Description

@mrava87

The ToCupy operator does not allow one to choose on which device the array will be moved to. Add a device parameter allowing the user to specify it. This can follow what we already do here

with cp.cuda.Device(x.device):

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions