Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

[spirv] [tracking] SPIR-V dialect #302

Open
21 of 30 tasks
antiagainst opened this issue Dec 6, 2019 · 0 comments
Open
21 of 30 tasks

[spirv] [tracking] SPIR-V dialect #302

antiagainst opened this issue Dec 6, 2019 · 0 comments

Comments

@antiagainst
Copy link
Contributor

antiagainst commented Dec 6, 2019

(NOTE: This is not updated anymore. Please see https://mlir.llvm.org/docs/Dialects/SPIR-V/ for supported features.)

This is a tracking bug for completing the SPIR-V dialect. It will be periodically updated to provide the current status. Anybody interested in helping is very welcome to pick up tasks here! :)

Core infrastructure

  • Dialect skeleton (scaffolding, registration, etc.)
  • Serialization & deserialization skeleton
  • Script to query SPIR-V HLSL and JSON spec to auto-generate SPIR-V dialect op definitions
  • TableGen backend to auto-generate SPIR-V (de)serialization logic
  • Version/extension/capability support
  • Extension library organization

For Vulkan compute

  • Module structure
  • Types
    • Scalar types
      • void, bool, Int, float
      • Integer signedness
    • Vector
    • (Runtime) Array
    • Struct
  • Operations
  • Control flow
    • Structured selection
    • Structured loop
    • Phi
    • Switch

For Vulkan graphics

[TODO]

For OpenCL

[TODO]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant