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

InvalidFunctionCall: Unexpected llvm intrinsic: llvm.fabs.bf16 #2666

Open
anmyachev opened this issue Aug 5, 2024 · 2 comments
Open

InvalidFunctionCall: Unexpected llvm intrinsic: llvm.fabs.bf16 #2666

anmyachev opened this issue Aug 5, 2024 · 2 comments

Comments

@anmyachev
Copy link

Hello,

Are there any plans to support it?

Logs:

InvalidFunctionCall: Unexpected llvm intrinsic:
 llvm.fabs.bf16 [Src: ../Target/SPIRV/SPIRVToLLVMTranslator/lib/SPIRV/SPIRVUtil.cpp:1889 false ]
@MrSidims
Copy link
Contributor

MrSidims commented Aug 5, 2024

Short answer: yes, there are plans.
Slightly longer answer: it requires support of bfloat16 LLVM type which at this point of time doesn't have SPIR-V counterpart.

@anmyachev
Copy link
Author

Thanks for the answer @MrSidims!

it requires support of bfloat16 LLVM type which at this point of time doesn't have SPIR-V counterpart.

Maybe you know a specific issue that can be used to track the progress of implementing this type in SPIR-V?

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