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

Different enum value of HostAccessINTEL #2260

Open
ShengYang1 opened this issue Dec 11, 2023 · 1 comment
Open

Different enum value of HostAccessINTEL #2260

ShengYang1 opened this issue Dec 11, 2023 · 1 comment

Comments

@ShengYang1
Copy link

I'm new to spirv, and I'm just curious why there are different values for HostAccessINTEL, like 6147 in SPIRV-LLVM-Translator, 6188 in SPIRV-Headers, 6168 in SPIR-V specs

@MrSidims
Copy link
Contributor

MrSidims commented Jan 3, 2024

Hi, the original preview specification had HostAccessINTEL be 6147, see intel/llvm#5701 . And like this it was implemented and adopted across the software stack. Then the spec has changed and was upstreamed to SPIR-V Registry and Headers (it was split into 2 extensions with different capabilities). Don't be mistaken - new versions is better then the old one, but unfortunately such change is not backward compatible, so we could not reuse old Op code there and had to change it. Note, that currently the translator is aware of both 6147 and 6148 Op Codes that stand for different versions of HostAccessINTEL, hope that answers your question.

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

No branches or pull requests

2 participants