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

[BUG] cuVS should copy its clang-format from other RAPIDS libs

オープン 初心者向け
#307 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
cpp
領域
tooling

調査の方向性

cuVS の .clang-format から始め、その IncludeCategories を、既存の RMM やその他の RAPIDS ライブラリで使用されている clang-format と比較します。RAPIDS のヘッダー順序付けルールが含まれるように設定を更新し、ヘッダーの順序が自動的に一貫してフォーマットされることを確認します。

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

説明

bug

Describe the bug
cuVS .clang-format does not include the header ordering code that was added for all other RAPIDS C++ libraries. E.g. from RAFT:

IncludeCategories:
  - Regex:           '^"' # quoted includes
    Priority:        1
  - Regex:           '^<(common|benchmarks|tests)/' # benchmark/test includes
    Priority:        2
  #- Regex:           '^<(cuspatial_test|cuproj_test)/' # cuSpatial/cuProj test includes
  #  Priority:        3
  - Regex:           '^<raft/' # RAFT includes
    Priority:        3
  - Regex:           '^<(cudf|cuml|raft|kvikio)' # Other RAPIDS includes
    Priority:        4
  - Regex:           '^<rmm/' # RMM includes
    Priority:        5
  - Regex:           '^<(thrust|cub|cuda)/' # CCCL includes
    Priority:        6
  - Regex:           '^<(cooperative_groups|cuco|cuda|device_types|driver_types|math_constants|nvtx3)' # CUDA includes
    Priority:        6
  - Regex:           '^<.*\..*' # other system includes (e.g. with a '.')
    Priority:        7
  - Regex:           '^<[^.]+' # STL includes (no '.')
    Priority:        8

As a result, header ordering is not consistent and not automatically formatted.

Expected behavior
Start from the clang-format of existing RMM libraries.

主要言語
Cuda
スター
854
フォーク
236
平均マージ
3日 5時間
マージ済み PR(30日)
62

環境構築

はじめの一歩

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

NVIDIA/cuvs のほかの issue

NVIDIA/cuvs の issue をすべて見る

似ている issue

DevTools の issue をもっと見る

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

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