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

what is the difference between tool spirv-ll-tool in OCK and llvm-spirv -r in KhronosGroup/SPIRV-LLVM-Translator ? #607

Open
gglin001 opened this issue Dec 11, 2024 · 2 comments
Labels
question Further information is requested

Comments

@gglin001
Copy link

Version

4.x(latest)

What is your question or problem?

hi, I just found some difference between spirv-ll-tool and llvm-spirv -r on same spv kernel, why spirv-ll-tool exists ? will(can) it be replaced with https://github.com/KhronosGroup/SPIRV-LLVM-Translator ?

@gglin001 gglin001 added the question Further information is requested label Dec 11, 2024
@coldav
Copy link
Collaborator

coldav commented Jan 24, 2025

Hi, it's there for historical reasons, and this is something we'd hope to review in the future.

@gglin001
Copy link
Author

just make a initial support for llvm-spirv in

torch-nupu@b123420

mainly for issue

I did not do a complete tests for this patch, It seems just works when not using llvm options O0 (some llvm passes need adapt)

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

No branches or pull requests

2 participants