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

SPIR-V generator #74

Open
Ameya674 opened this issue Jul 15, 2024 · 3 comments
Open

SPIR-V generator #74

Ameya674 opened this issue Jul 15, 2024 · 3 comments

Comments

@Ameya674
Copy link

Ameya674 commented Jul 15, 2024

    **sycl-lisp**            cuda-lisp
           \                /                                                 We have to make sycl-lisp
             \           /
                c-lisp                                                       Phase 1 - https://github.com/oneapi-src/unified-runtime  
                    |                                                           Phase 2 - https://github.com/KhronosGroup/SPIRV-LLVM-Translator
             brilisp                                                       
                    |
                   llvm 
          /     |      |    \ 
        /       |      |      \ 
     x86  arm  ptx     spirv
@chsasank
Copy link
Owner

@chsasank chsasank mentioned this issue Jul 16, 2024
@chsasank chsasank changed the title Creating sycl-lisp SPIR-V generator Jul 16, 2024
@Ameya674
Copy link
Author

codegen done and documented. now finding spirv mangling and demangling specs

@chsasank
Copy link
Owner

@Ameya674 can you post LLVM IR that's used to generate SPIR-V kernel here? Can you try to correlate spir-v with LLVM to understand how spir-v/llvm translator works? I suspect you'll be able to generate this LLVM with c-lisp like in #71.

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