zeroshade commented on code in PR #37040:
URL: https://github.com/apache/arrow/pull/37040#discussion_r1287413363
##########
cpp/src/arrow/device.h:
##########
@@ -105,6 +107,63 @@ class ARROW_EXPORT Device : public
std::enable_shared_from_this<Device>,
bool is_cpu_;
};
+/// \brief EXPERIMENTAL: An object that provides event/stream sync primitives
+///
+///
+class ARROW_EXPORT DeviceSync {
+ public:
+ explicit DeviceSync(void* sync_event) : sync_event_{sync_event},
owns_event_{false} {}
Review Comment:
that's a good idea, though technically you *can't* create a bare DeviceSync
anyways cuz of the pure virtual methods :smile:
--
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]