Skip to content

[Enhancement] Add device to ToCupy #640

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):

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions