jorisvandenbossche commented on issue #38325:
URL: https://github.com/apache/arrow/issues/38325#issuecomment-2047576951

   > > When specified, it accepts integer values corresponding to 
ArrowDeviceType from the ABI
   > 
   > Would the request also have to specify the `device_id`?
   
   That's a good question, hopefully @kkraus14 or @vyasr could answer that. If 
needed, then the argument would be a tuple of two ints for `(device_type, 
device_id)` (I see that's also what DLPack does with their `dl_device` keyword 
in 
[`__dlpack__`](https://data-apis.org/array-api/latest/API_specification/generated/array_api.array.__dlpack__.html))
   
   > I'm in favour of all outcomes that let this interface start being 
implemented, I am just worried that adding an argument before any 
implementations exist is going to mean that we risk having to change its 
interpretation or remove it (defeating the purpose of adding it early).
   
   Likewise here, happy to spec and implement any agreed proposal, but my 
personal preference would still be to just start with the simplest option (no 
keywords, no special kwarg handling for future evolution) with clearly labeling 
it as experimental, and re-evaluate this in some time after we have initial 
implementations and usage.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to