Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Forward progress: questioning `weakly_parallel` guarantee of stream scheduler

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
32/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
静か
技術スタック
cpp

調査の方向性

include/nvexec/stream_context.cuh の47-49行から始め、リンクされている CUDA execution model のドキュメントを読み、並列フォワード進行の条件に重点を置いてください。その説明を stream scheduler および cudax における同じ保証と比較してください。保証が明確化されるか、関連するドキュメントと宣言が更新されれば完了です。

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

説明

We are wondering why the stream scheduler advertises its forward progress guarantee as weakly_parallel:

https://github.com/NVIDIA/stdexec/blob/e5dbe49a5257d29adee456f9f653acb00df634f5/include/nvexec/stream_context.cuh#L47-L49

Indeed, this page on the Cuda execution model,

https://nvidia.github.io/cccl/libcudacxx/extended_api/execution_model.html

mentions that

If the host implementation provides concurrent forward progress, then CUDA C++ provides parallel forward progress for device threads.

As potential reasons for the stream scheduler advertising only weakly_parallel, we have thought about the host implementation not necessarily providing concurrent forward progress and about the cuda architecture not necessarily providing independent thread scheduling prior to volta. But we are not sure. And so hence our question.

Also noting that we did see the same forward progress guarantee used in the new work in cudax.

Thanks in advance!

Joint work with @romintomasetti.

主要言語
C++
スター
2.4k
フォーク
274
平均マージ
1日 13時間
マージ済み PR(30日)
38

環境構築

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

はじめの一歩

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

NVIDIA/stdexec のほかの issue

NVIDIA/stdexec の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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