-
Notifications
You must be signed in to change notification settings - Fork 55
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
error: Opaque pointers are only supported in -opaque-pointers mode #624
Comments
julia> versioninfo() julia> AMDGPU.devices() |
Duh.. I may be reporting this issue |
Can you show the output of |
julia> AMDGPU.versioninfo() HIP Devices [8] I am trying to run the code from this discourse thread |
module load rocm amdclang $ env | grep rocm |
Ah, for some reason it is using device libraries from system-wide installation. What version of AMDGPU.jl are you using? Try 0.8.11, it should automatically use patched device libraries |
Thankyou. Updated to AMDGPU@0.8.11 Now I get an error which is specific to the code. Please close this issue! If you want to allow scalar iteration, use |
It's hard to say what exactly causing this without full stack trace. But to be sure, full stacktrace would be helpful ;) |
julia> ScalarWave3D.Run.cartesian3D(L, ncells, tf, cfl, save_every=1, res="test") If you want to allow scalar iteration, use |
Well, it looks like the code is written only for CPU, e.g.: |
Thankyou! Please close the issue. |
error: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM17.0.0git' Reader: 'LLVM 15.0.7jl')
This error seen when running on a system with ROCm 6.1.0 with MI210 GPUs
I guess it is to be expected as mixing LLVM versions
Setting export JULIA_LLVM_ARGS="-opaque-pointers=1" then gives:
ERROR: Taking the type of an opaque pointer is illegal
The text was updated successfully, but these errors were encountered: