You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "kkraus14 (via GitHub)" <gi...@apache.org> on 2023/06/15 17:03:18 UTC

[GitHub] [arrow] kkraus14 commented on issue #36103: [C++] Add device-specific synchronization API to Buffer

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

   I'm not sure if an event is the right thing for Buffers. In addition to being able to synchronize, device buffers are often managed in a stream ordered fashion. I.E. allocated and more importantly freed asynchronously from a CPU perspective with the ordering being handled via CUDA streams.
   
   I.E. RMM (libcudf's memory manager) has a couple of stream APIs associated to its `device_buffer` class as well as a private stream member which gets used in its destructor for deallocating. https://github.com/rapidsai/rmm/blob/0c08dd585031f58e2a9dcfbba5608cce10c423b2/include/rmm/device_buffer.hpp#L374-L400


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