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

AMDGPU.jl master is broken on Julia 1.7 #372

Closed
utkarsh530 opened this issue Feb 2, 2023 · 3 comments · Fixed by #456
Closed

AMDGPU.jl master is broken on Julia 1.7 #372

utkarsh530 opened this issue Feb 2, 2023 · 3 comments · Fixed by #456
Labels
bug Something isn't working codegen intrinsics

Comments

@utkarsh530
Copy link
Contributor

Hi, I am trying to get AMDGPU.jl to work with the mentioned GPU. Although I can create ROCArray, things like kernel launches and A\b throws an error. The ] test AMDGPU doesn't pass as well.

Code + Stacktrace: https://pastebin.com/Rtt1n534

julia> AMDGPU.versioninfo()
HSA Runtime (ready)
- Path: /home/utkarsh/.julia/artifacts/169e9a933365dbab116a56e28d5e468c5c7a10c5/lib/libhsa-runtime64.so
- Version: 1.1.0
ld.lld (ready)
- Path: /home/utkarsh/.julia/artifacts/836082a6a472e357ce62db92868086df6735be27/bin/lld
ROCm-Device-Libs (ready)
- Path: /home/utkarsh/.julia/artifacts/9fdb94cae0fc41f8cb5cf92a1d81e1edf8a71e98/amdgcn/bitcode
HIP Runtime (ready)
- Path: /home/utkarsh/.julia/artifacts/858cd7ded8156b94aae719650397d091bd78c4dc/hip/lib/libamdhip64.so
rocBLAS (ready)
- Path: /home/utkarsh/.julia/artifacts/c7f4295c8fc1b930aa2d18ed575540df6c9de02e/rocblas/lib/librocblas.so
rocSOLVER (MISSING)
rocALUTION (MISSING)
rocSPARSE (ready)
- Path: /home/utkarsh/.julia/artifacts/4db863b21264fac571033dbd49ff6efc3f393cbf/rocsparse/lib/librocsparse.so
rocRAND (ready)
- Path: /home/utkarsh/.julia/artifacts/3c565b6e353eb2ec9345ac55ba0f2d6be3444bea/hiprand/lib/../../rocrand/lib/librocrand.so.1
rocFFT (MISSING)
MIOpen (MISSING)
HSA Agents (2):
- CPU-XX [AMD FX(tm)-8350 Eight-Core Processor]
- GPU-0213f2e93ef02184 [Radeon RX Vega (gfx900)]
julia> versioninfo()
Julia Version 1.7.3
Commit 742b9abb4d (2022-05-06 12:58 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: AMD FX(tm)-8350 Eight-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, bdver1)
@utkarsh530
Copy link
Contributor Author

cc @vchuravy

@jpsamaroo jpsamaroo added bug Something isn't working codegen intrinsics labels Feb 2, 2023
@jpsamaroo
Copy link
Member

Part of this is that device_sleep calls an OCKL intrinsic which requires a ConstantInt argument, instead of an SSA value. The other issues, I don't yet know how to fix.

@jpsamaroo jpsamaroo changed the title AMDGPU.jl doesn't seem to (fully) work with RX Vega 56/64 GPU AMDGPU.jl master is broken on Julia 1.7 Feb 4, 2023
@pxl-th
Copy link
Member

pxl-th commented Aug 4, 2023

We no longer support 1.7 and #456 adds routines for A \ b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working codegen intrinsics
Projects
None yet
3 participants