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

[FEA] Variadic ctor parameters

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

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

@sleeepyjack がすでに取り組んでいます。

2023年4月26日 から。

  • #297 @sleeepyjack による — オープン

評価

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

調査の方向性

issue で名前が挙げられている static_set と関連するデータ構造から始め、リンクされている refactor 開発ブランチと Godbolt のプロトタイプを確認してください。残っている variadic-constructor の要件と、プロトタイプが nvcc でビルドできるかどうかを確認してください。合意したコンストラクターのパターンが実装され、列挙された nvcc のビルド問題が解決されていれば完了です。

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

説明

type: feature request

Part of #110 (Refactor of open address data structures)

Development branch: NVIDIA/cuCollections/refactor

Synopsis

To make it convenient to construct a static_set or other data structures with a variety of configuration parameters, we want to use a variadic constructor pattern.

TODOs
  • Implement prototype: https://godbolt.org/z/T4oP1nsoW https://godbolt.org/z/Kj763Teon https://godbolt.org/z/5Ghac54E6
  • To make this more generic, instead of the get_or_default<T> function looking for a concrete type T, it could look for the first type that satisfies a given concept C, e.g., get_or_default<C>. If necessary, use unique member tags to disambiguate a concept.
  • Optional: Ctors that only take a variadic parameter pack (helpful to #101). For this, we need a mechanism to detect if all mandatory parameters are present, e.g., get_or_error<T>.
  • refine prototype and fix nvcc build errors: https://godbolt.org/z/5Ghac54E6
References
主要言語
Cuda
スター
671
フォーク
122
平均マージ
4日 19時間
マージ済み PR(30日)
10

環境構築

Codespaces で開く

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

はじめの一歩

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

NVIDIA/cuCollections のほかの issue

NVIDIA/cuCollections の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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