Support for multicast/unicast?

オープン
#191 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
cpp
領域
api

調査の方向性

ファイルやテストは指定されていません。まず現在のデバイス enum、tensor struct、フラグ定義を確認し、次にマルチキャストに新しいデバイスが必要か、ユニキャストをオプションのメタデータに含めるべきかを明確にしてください。表現方法と互換性の範囲について合意できたら完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
C++
スター
1.3k
フォーク
169
平均マージ
1分
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dmlc/dlpack のほかの issue

dmlc/dlpack の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。