[PATCH] D157671: [DX] Add support for PSV signature elements

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 10 18:48:32 PDT 2023


beanz created this revision.
beanz added reviewers: efriedma, bogner, MaskRay, lhames, bob80905, smeenai.
Herald added a subscriber: hiraditya.
Herald added a project: All.
beanz requested review of this revision.
Herald added a project: LLVM.

The pipeline state data captured in the PSV0 section of the DXContainer
file encodes signature elements which are read by the runtime to map
inputs and outputs from the GPU program.

This change adds support for generating and parsing signature elements
with testing driven through the ObjectYAML tooling.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157671

Files:
  llvm/include/llvm/BinaryFormat/DXContainer.h
  llvm/include/llvm/BinaryFormat/DXContainerConstants.def
  llvm/include/llvm/MC/DXContainerPSVInfo.h
  llvm/include/llvm/MC/StringTableBuilder.h
  llvm/include/llvm/Object/DXContainer.h
  llvm/include/llvm/ObjectYAML/DXContainerYAML.h
  llvm/lib/BinaryFormat/DXContainer.cpp
  llvm/lib/MC/DXContainerPSVInfo.cpp
  llvm/lib/MC/StringTableBuilder.cpp
  llvm/lib/Object/DXContainer.cpp
  llvm/lib/ObjectYAML/DXContainerEmitter.cpp
  llvm/lib/ObjectYAML/DXContainerYAML.cpp
  llvm/test/ObjectYAML/DXContainer/PSVv1-amplification.yaml
  llvm/test/ObjectYAML/DXContainer/PSVv1-compute.yaml
  llvm/test/ObjectYAML/DXContainer/PSVv1-domain.yaml
  llvm/test/ObjectYAML/DXContainer/PSVv1-geometry.yaml
  llvm/test/ObjectYAML/DXContainer/PSVv1-hull.yaml
  llvm/test/ObjectYAML/DXContainer/PSVv1-mesh.yaml
  llvm/test/ObjectYAML/DXContainer/PSVv1-pixel.yaml
  llvm/test/ObjectYAML/DXContainer/PSVv1-vertex.yaml
  llvm/test/ObjectYAML/DXContainer/PSVv2-amplification.yaml
  llvm/test/ObjectYAML/DXContainer/PSVv2-compute.yaml
  llvm/test/ObjectYAML/DXContainer/PSVv2-domain.yaml
  llvm/test/ObjectYAML/DXContainer/PSVv2-geometry.yaml
  llvm/test/ObjectYAML/DXContainer/PSVv2-hull.yaml
  llvm/test/ObjectYAML/DXContainer/PSVv2-mesh.yaml
  llvm/test/ObjectYAML/DXContainer/PSVv2-pixel.yaml
  llvm/test/ObjectYAML/DXContainer/PSVv2-vertex.yaml
  llvm/test/ObjectYAML/DXContainer/SigElements.yaml
  llvm/tools/obj2yaml/dxcontainer2yaml.cpp
  llvm/unittests/Object/DXContainerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157671.549224.patch
Type: text/x-patch
Size: 62027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230811/e5df3151/attachment.bin>


More information about the llvm-commits mailing list