Skip to content

Device support statement refinement  #157

Closed

Description

@oleksandr-pavlyk

In the document device support we state

it is important to be able to control on which device newly created arrays get placed and where execution happens.

We do mention separate needs for array allocation control and execution control.

When describing the option 3 which this data API adopts, we only talk about allocation control:

  1. Local control via explicit keywords and a method to transfer arrays to another device.

I think it is important to explicitly add that the execution takes place local to the data, a.k.a. "computation follows data" convention.

So I suggest we modify item 3 to say

  1. Local control for data allocation target via explicit keywords, with convention that execution takes place on the same device where all argument arrays are allocated; methods for explicitly transferring data between devices.

Activity

  1. oleksandr-pavlyk commented on Apr 7, 2021

    @oleksandr-pavlyk
    ContributorAuthor

    Additionally, the device support document we state that method ary.to_device(device) must be provided, but this method is not listed in the API specs document.

  2. self-assigned this
    on Apr 8, 2021
  3. rgommers commented on Apr 8, 2021

    @rgommers
    Member

    This textual change makes sense, and we should indeed add the missing method. Thanks @oleksandr-pavlyk

  4. added a commit that references this issue on Apr 26, 2021
    b8b2c91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

topic: Device Handling

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions