You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "jorisvandenbossche (via GitHub)" <gi...@apache.org> on 2024/03/21 10:01:02 UTC

[I] [C++] Create registry for Devices to map DeviceType to MemoryManager in C Device Data import [arrow]

jorisvandenbossche opened a new issue, #40698:
URL: https://github.com/apache/arrow/issues/40698

   ### Describe the enhancement requested
   
   Follow-up on https://github.com/apache/arrow/pull/39980#discussion_r1483235845
   
   Right now, the user of `ImportDeviceArray` or `ImportDeviceRecordBatch` needs to provide a `DeviceMemoryMapper` mapping the device type and id to a MemoryManager. We provide a default implementation of that mapper that just knows about the default CPU memory manager (and there is another implementation in `arrow::cuda`, but you need to explicitly pass that to the import function)
   
   To make this easier, the suggestion was to create a registry such that default device mappers can be added separately.
   
   ### Component(s)
   
   C++


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++] Create registry for Devices to map DeviceType to MemoryManager in C Device Data import [arrow]

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche closed issue #40698: [C++] Create registry for Devices to map DeviceType to MemoryManager in C Device Data import
URL: https://github.com/apache/arrow/issues/40698


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++] Create registry for Devices to map DeviceType to MemoryManager in C Device Data import [arrow]

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche commented on issue #40698:
URL: https://github.com/apache/arrow/issues/40698#issuecomment-2022570880

   Issue resolved by pull request 40699
   https://github.com/apache/arrow/pull/40699


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org