0.6.6: RR kernel cache key should hash only the inputs of RR kernels

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
cpp

調査の方向性

Start with clean/dx12/build_dx12.py and trace how it gathers RR kernel sources and includes, compiler details, flags, defines, and builds the cache key. Add the requested test for unrelated edits versus changes to each RR input, then run the relevant build and test commands; done means unrelated edits preserve the key while RR input changes invalidate it.

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

説明

The Ray Reconstruction kernel cache key includes the full text of clean/dx12/build_dx12.py. Any change to that file, even one that has nothing to do with Ray Reconstruction kernels (for example a new check for another model's shaders), invalidates the whole cache, and the next full build recompiles every RR kernel. That takes about three hours on a two-job build.

Proposal: make the key hash only the inputs that affect RR kernels: their sources and include closure, the compiler and its version, the flags and defines used for RR kernels, and the specific code that turns those into a compile command. Add a test showing that an unrelated edit to build_dx12.py keeps the key, and that a change to an RR source, include, flag or define changes it.

主要言語
C++
スター
12
フォーク
2
平均マージ
3時間 10分
マージ済み PR(30日)
171

環境構築

はじめの一歩

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

phantoslayer21/wronggpu のほかの issue

phantoslayer21/wronggpu の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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