Skip to content

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

Open
@gglin001

Description

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 ?

Activity

coldav

coldav commented on Jan 24, 2025

@coldav
Collaborator

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

gglin001

gglin001 commented on Jan 25, 2025

@gglin001
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

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @gglin001@coldav

      Issue actions

        what is the difference between tool `spirv-ll-tool` in OCK and `llvm-spirv -r` in KhronosGroup/SPIRV-LLVM-Translator ? · Issue #607 · uxlfoundation/oneapi-construction-kit