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

Aberta
#263 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
52/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
cpp
Domínio
build-system, testing

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
C++
Estrelas
12
Forks
2
Merge médio
3h 10min
PRs com merge (30d)
171

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de phantoslayer21/wronggpu

Todas as issues de phantoslayer21/wronggpu

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.