Skip to content

Integrated GPU not supported on Windows #814

@ggkountouras

Description

@ggkountouras

Questionnaire

  1. Does ROCm works for you outside of Julia, e.g. C/C++/Python?

I haven't tried it. On Windows you can only install the HIP SDK (https://github.com/ROCm/rocm-install-on-windows), which is a subset of the full ROCm.

  1. Post output of rocminfo.

rocminfo doesn't exist on Windows: ROCm/ROCm#4024 (comment)

  1. Post output of AMDGPU.versioninfo() if possible.
[ Info: AMDGPU versioninfo
┌───────────┬──────────────────┬─────────┬───────────────────────────────────────────────────────────────────────────────────────────────┐
│ Available │ Name             │ Version │ Path                                                                                          │
├───────────┼──────────────────┼─────────┼───────────────────────────────────────────────────────────────────────────────────────────────┤
│     +     │ LLD              │ -       │ C:\\Users\\archi\\.julia\\juliaup\\julia-1.11.5+0.x64.w64.mingw32\\libexec\\julia\\lld.exe    │
│     +     │ Device Libraries │ -       │ C:\\Users\\archi\\.julia\\artifacts\\5ad5ecb46e3c334821f54c1feecc6c152b7b6a45\\amdgcn/bitcode │
│     -     │ HIP              │ -       │ -                                                                                             │
│     -     │ rocBLAS          │ -       │ -                                                                                             │
│     -     │ rocSOLVER        │ -       │ -                                                                                             │
│     -     │ rocSPARSE        │ -       │ -                                                                                             │
│     -     │ rocRAND          │ -       │ -                                                                                             │
│     -     │ rocFFT           │ -       │ -                                                                                             │
│     -     │ MIOpen           │ -       │ -                                                                                             │
└───────────┴──────────────────┴─────────┴───────────────────────────────────────────────────────────────────────────────────────────────┘
  1. Output of versioninfo()
Julia Version 1.11.5
Commit 760b2e5b73 (2025-04-14 06:53 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 16 × AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, znver4)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
  1. Project.toml
Status `C:\Users\archi\.julia\environments\v1.11\Project.toml`
  [21141c5a] AMDGPU v2.0.0
  1. Manifest.toml
Status `C:\Users\archi\.julia\environments\v1.11\Manifest.toml`
  [21141c5a] AMDGPU v2.0.0
  [621f4979] AbstractFFTs v1.5.0
  [6a4ca0a5] AcceleratedKernels v0.4.2
  [79e6a3ab] Adapt v4.3.0
  [dce04be8] ArgCheck v2.5.0
  [a9b6321e] Atomix v1.1.1
  [fa961155] CEnum v0.5.0
  [a8cc5b0e] Crayons v4.1.1
  [9a962f9c] DataAPI v1.16.0
  [e2d170a0] DataValueInterfaces v1.0.0
  [ffbed154] DocStringExtensions v0.9.5
  [e2ba6199] ExprTools v0.1.10
  [0c68f7d7] GPUArrays v11.2.3
  [46192b85] GPUArraysCore v0.2.0
  [61eb1bfa] GPUCompiler v1.6.1
  [096a3bc2] GPUToolbox v0.2.0
  [076d061b] HashArrayMappedTries v0.2.0
  [92d709cd] IrrationalConstants v0.2.4
  [82899510] IteratorInterfaceExtensions v1.0.0
  [692b3bcd] JLLWrappers v1.7.0
  [63c18a36] KernelAbstractions v0.9.37
  [929cbde3] LLVM v9.4.2
  [b964fa9f] LaTeXStrings v1.4.0
  [2ab3a3ac] LogExpFunctions v0.3.29
  [1914dd2f] MacroTools v0.5.16
  [bac558e1] OrderedCollections v1.8.1
⌅ [aea7be01] PrecompileTools v1.2.1
  [21216c6a] Preferences v1.4.3
  [08abe8d2] PrettyTables v2.4.0
  [74087812] Random123 v1.7.1
  [e6cf234a] RandomNumbers v1.6.0
  [189a3867] Reexport v1.2.2
  [ae029012] Requires v1.3.1
  [7e506255] ScopedValues v1.4.0
  [6c6a2e73] Scratch v1.3.0
  [276daf66] SpecialFunctions v2.5.1
  [90137ffa] StaticArrays v1.9.14
  [1e83bf80] StaticArraysCore v1.4.3
  [10745b16] Statistics v1.11.1
  [892a3eda] StringManipulation v0.4.1
  [3783bdb8] TableTraits v1.0.1
  [bd369af6] Tables v1.12.1
  [e689c965] Tracy v0.1.5
  [013be700] UnsafeAtomics v0.3.0
  [dad2f222] LLVMExtra_jll v0.0.37+2
⌅ [86de99a1] LLVM_jll v16.0.6+5
  [ad6e5548] LibTracyClient_jll v0.9.1+6
  [efe28fd5] OpenSpecFun_jll v0.5.6+0
⌅ [873c0968] ROCmDeviceLibs_jll v5.6.1+1
  [0dad84c5] ArgTools v1.1.2
  [56f22d72] Artifacts v1.11.0
  [2a0f44e3] Base64 v1.11.0
  [ade2ca70] Dates v1.11.0
  [f43a241f] Downloads v1.6.0
  [7b1f6079] FileWatching v1.11.0
  [b77e0a4c] InteractiveUtils v1.11.0
  [4af54fe1] LazyArtifacts v1.11.0
  [b27032c2] LibCURL v0.6.4
  [76f85450] LibGit2 v1.11.0
  [8f399da3] Libdl v1.11.0
  [37e2e46d] LinearAlgebra v1.11.0
  [56ddb016] Logging v1.11.0
  [d6f4376e] Markdown v1.11.0
  [ca575930] NetworkOptions v1.2.0
  [44cfe95a] Pkg v1.11.0
  [de0858da] Printf v1.11.0
  [9a3f8284] Random v1.11.0
  [ea8e919c] SHA v0.7.0
  [9e88b42a] Serialization v1.11.0
  [2f01184e] SparseArrays v1.11.0
  [fa267f1f] TOML v1.0.3
  [a4e569a6] Tar v1.10.0
  [cf7118a7] UUIDs v1.11.0
  [4ec0a83e] Unicode v1.11.0
  [e66e0078] CompilerSupportLibraries_jll v1.1.1+0
  [d55e3150] LLD_jll v16.0.6+5
  [deac9b47] LibCURL_jll v8.6.0+0
  [e37daf67] LibGit2_jll v1.7.2+0
  [29816b5a] LibSSH2_jll v1.11.0+1
  [c8ffd9c3] MbedTLS_jll v2.28.6+0
  [14a3606d] MozillaCACerts_jll v2023.12.12
  [4536629a] OpenBLAS_jll v0.3.27+1
  [05823500] OpenLibm_jll v0.8.5+0
  [bea87d4a] SuiteSparse_jll v7.7.0+0
  [83775a58] Zlib_jll v1.2.13+1
  [8f36deef] libLLVM_jll v16.0.6+5
  [8e850b90] libblastrampoline_jll v5.11.0+0
  [8e850ede] nghttp2_jll v1.59.0+0
  [3f19e933] p7zip_jll v17.4.0+2

Reproducing the bug

  1. Describe what's not working.
julia> using AMDGPU
┌ Warning: HIP library is unavailable, HIP integration will be disabled.
└ @ AMDGPU C:\Users\archi\.julia\packages\AMDGPU\DB23R\src\AMDGPU.jl:187
┌ Warning: rocBLAS is unavailable, functionality will be disabled.
└ @ AMDGPU C:\Users\archi\.julia\packages\AMDGPU\DB23R\src\AMDGPU.jl:198
┌ Warning: rocSPARSE is unavailable, functionality will be disabled.
└ @ AMDGPU C:\Users\archi\.julia\packages\AMDGPU\DB23R\src\AMDGPU.jl:198
┌ Warning: rocSOLVER is unavailable, functionality will be disabled.
└ @ AMDGPU C:\Users\archi\.julia\packages\AMDGPU\DB23R\src\AMDGPU.jl:198
┌ Warning: rocRAND is unavailable, functionality will be disabled.
└ @ AMDGPU C:\Users\archi\.julia\packages\AMDGPU\DB23R\src\AMDGPU.jl:198
┌ Warning: rocFFT is unavailable, functionality will be disabled.
└ @ AMDGPU C:\Users\archi\.julia\packages\AMDGPU\DB23R\src\AMDGPU.jl:198
┌ Warning: MIOpen is unavailable, functionality will be disabled.
└ @ AMDGPU C:\Users\archi\.julia\packages\AMDGPU\DB23R\src\AMDGPU.jl:198
  1. Provide MWE to reproduce it (if possible).

Install Julia binaries from the recommended command (that uses the MSStore). ]add AMDGPU. using AMDGPU

Additional Context

AMDGPU.jl doesn't support iGPUs on Linux either, but there is a workaround: https://discourse.julialang.org/t/does-amdgpu-jl-support-integrated-graphics/130675

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions