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

[ENHANCEMENT]: Update build-time check since the trunk CCCL allows 1B/2B `atomic_ref`

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp
領域
data

調査の方向性

まず include/cuco/static_map_ref.cuh と include/cuco/detail/open_addressing/open_addressing_ref_impl.cuh の静的アサーションから始め、次に既存のビルドチェックとユニットテストを確認します。1バイトおよび2バイトの atomic_ref 変数に対するチェックを更新し、それに応じてテストを調整します。完了の条件は、trunk の CCCL の動作でビルドチェックとユニットテストに合格することです。

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

説明

P1: Should have type: improvement
Is your feature request related to a problem? Please describe.

https://godbolt.org/z/a78x4qrha

Originally posted by @sleeepyjack https://github.com/NVIDIA/cuCollections/pull/549#discussion_r1684974753

Now cuda::atomic_ref can work with 1-byte and 2-byte variables so we need to update the static asserts accordingly in cuco data structures, e.g.

https://github.com/NVIDIA/cuCollections/blob/a7f87ac838320fe5b9fc9a90847d3f652ccec201/include/cuco/static_map_ref.cuh#L77-L78

https://github.com/NVIDIA/cuCollections/blob/e7b5a389b823bebe465cefe63ad7b0e95f7fb450/include/cuco/detail/open_addressing/open_addressing_ref_impl.cuh#L1239

Describe the solution you'd like

Update build checks and unit tests

Describe alternatives you've considered

No response

Additional context

No response

主要言語
Cuda
スター
671
フォーク
122
平均マージ
4日 19時間
マージ済み PR(30日)
10

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

NVIDIA/cuCollections のほかの issue

NVIDIA/cuCollections の issue をすべて見る

似ている issue

Data Engineering の issue をもっと見る

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

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