-
Notifications
You must be signed in to change notification settings - Fork 51
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
Opaque pointers support #511
Comments
Generally we won't be able to read LLVM IR being produced by a newer version of LLVM. This is why I said earlier this summer that I believe for a long-term solution you will need to generate the bitcode archive with multiple LLVM versions. You can use I think the first step here would be to add a CI job that runs with |
LLVM.jl already tests with |
I've tried a simpler case with a kernel without any arguments to avoid calling f() = return
@roc f() And it fails with I was using Julia 1.9 (LLVM 14) with ROCm 5.4 (LLVM 15) without any issues, so I was hoping LLVM 15 & LLVM 16 would also work :/
That might indeed help, I just had low motivation to build ROCm libraries with BinaryBuilder again. Will Julia 1.11 use LLVM 16? |
Maybe? It heavily depends on the bandwidth folks have (I currently can't work on it) and @gbaraldi is busy with a lot of things. |
I would like for that to be the case. And to me the most annoying thing is getting the BinaryBuilder build working. And as always 32bit and windows are the holdups. Though in the case of windows I'm concerned because we've hit the symbol cap and there doesn't seem to be a clear solution |
ROCm 5.5+ uses LLVM 16 and opaque pointers, which leads to issues like:
And launching Julia (1.10 in this case) with
JULIA_LLVM_ARGS="--opaque-pointers"
results in:CC @jpsamaroo
The text was updated successfully, but these errors were encountered: