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

Enable opt-out for bitwise comparable payload requirement

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

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

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

2026年9月27日 から。

  • #852 @MaybeWilli による — オープン

評価

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

調査の方向性

まず、packed-CAS の挿入パスと is_bitwise_comparable_v チェックを特定します。payload の要件がどのように適用されているかを追跡し、その後、要求された例のドキュメント内の場所を特定します。デフォルトで要件が有効なままになり、ユーザーが CUCO_REQUIRE_BITWISE_COMPARABLE_PAYLOADS を通じて無効化でき、その無効化がドキュメント化されていれば完了です。

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

説明

P2: Nice to have type: feature request
Background

We currently require payload types to be bitwise comparable, which is required when we use the "packed CAS" insertion strategy.

Discussion from #426:

we could consider skipping the packed-CAS code path when is_bitwise_comparable_v(Key) && !is_bitwise_comparable_v(Value)

I'd rather keep performance-related settings as an opt-out rather than opt-in, i.e., we could add a global flag CUCO_REQUIRE_BITWISE_COMPARABLE_PAYLOADS which is on by default but can be turned off by the user.

This, of course, should be documented with an example.

Originally posted by @sleeepyjack in https://github.com/NVIDIA/cuCollections/discussions/426#discussioncomment-8213879

主要言語
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 を短くまとめたダイジェスト。