Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support Native Vectors In Dxil #7066

Open
pow2clk opened this issue Jan 13, 2025 · 2 comments
Open

[Feature Request] Support Native Vectors In Dxil #7066

pow2clk opened this issue Jan 13, 2025 · 2 comments
Assignees
Labels
enhancement Feature suggestion needs-triage Awaiting triage

Comments

@pow2clk
Copy link
Member

pow2clk commented Jan 13, 2025

Per the dxil-vectors spec (pending), add support for native LLVM vectors in DXIL 1.9.

Is your feature request related to a problem? Please describe.
Native vectors are needed for long vectors which are useful for ML applications.

Describe the solution you'd like
DXIL inherits native vector support from LLVM IR, however, they were always disallowed by validation etc.

These will be allowed on any LLVM operators and elementwise DXIL intrinsics listed in the spec. In the initial implementation, some of these intrinsics may still be scalarized, but they will ultimately all take native vectors.

Execution tests are covered by #7068

Describe alternatives you've considered
A bespoke opaque vector type was considered for the broader solution, but using what existing LLVM vector support would allow fewer changes, less risk with tools based on LLVM, and consistency with future developments in modern LLVM.

@pow2clk pow2clk added enhancement Feature suggestion needs-triage Awaiting triage labels Jan 13, 2025
@pow2clk pow2clk self-assigned this Jan 13, 2025
@pow2clk pow2clk moved this to Triaged in HLSL Triage Jan 13, 2025
@pow2clk pow2clk moved this from New to In progress in HLSL Roadmap Jan 13, 2025
@damyanp damyanp moved this to Planning in HLSL Support Jan 13, 2025
@damyanp damyanp moved this from Planning to Designing in HLSL Support Jan 13, 2025
@damyanp
Copy link
Member

damyanp commented Jan 13, 2025

Figure out how we're going to track HLKs and any other aspects of this feature.

@pow2clk pow2clk moved this from Designing to Planning in HLSL Support Jan 14, 2025
@pow2clk
Copy link
Member Author

pow2clk commented Jan 14, 2025

As I don't think this will involve more than one PR and I've filed an issue for execution tests, I've set this to planning again.

@davidcook-msft davidcook-msft moved this from Planning to Active in HLSL Support Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature suggestion needs-triage Awaiting triage
Projects
Status: In progress
Status: Triaged
Development

No branches or pull requests

2 participants