You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This came up in a discussion whether one could support multicast/unicast in DLPack.
I don't think this is used currently by things like CuPy/torch but other users seem to have the need to share this information.
As I am not very familiar with multicast/unicast, I think a multicast array would actually be it's own device, while a unicast could be a normal CUDA allocation, but unicast is still good information.
If unicast here is sufficient as optional metadata, then it could be a flag. Although I guess it might get us into a place where we may want device specific flags.
If there is a use-case for adding devices, that seems just very cheap to me (a simple enum entry after all), flags also are, although if we want to do device-specific flags/metadata we may want to extend the struct (or reserve some of the flag space).
Activity