kkraus14 commented on issue #40801:
URL: https://github.com/apache/arrow/issues/40801#issuecomment-2020947259

   Keeping aligned with dlpack and using 0 probably makes the most sense but 
there is some downsides.
   
   If we wanted to optionally denote which NUMA node CPU memory is on for 
example, being able to use numa node 0 would be good. Using -1 as the default 
would be more ideal in this situation.
   
   For managed memory, if that memory has been touched on a specific GPU then 
it would be local to that GPU and while it could be accessed by any device, it 
would be expensive to do so where it would be ideal to use an actual device id 
for that. If it hasn't been touched yet then again something like `-1` would be 
ideal to indicate that it's not known if the memory is local anywhere.


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