Skip to content

HIP detection broken in 1.2.xΒ #721

@BSchilperoort

Description

@BSchilperoort

Using the newer 1.2.0/1.2.1/main versions, the HIP library is not correctly detected on my machine (Windows, 7800XT, rocm 6.2). Downgrading to 1.1.7 fixed this.

HIP.hipRuntimeGetVersion seems to be broken:

julia> AMDGPU.HIP
AMDGPU.HIP

julia> AMDGPU.hipRuntimeGetVersion 
ERROR: could not load library ""
The parameter is incorrect.
Stacktrace:
 [1] macro expansion
   @ C:\Users\Bart\.julia\packages\AMDGPU\9fy2k\src\hip\call.jl:38 [inlined]
 [2] macro expansion
   @ C:\Users\Bart\.julia\packages\AMDGPU\9fy2k\src\utils.jl:134 [inlined]
 [3] hipRuntimeGetVersion(runtimeVersion::Base.RefValue{Int32})
   @ AMDGPU.HIP C:\Users\Bart\.julia\packages\AMDGPU\9fy2k\src\hip\libhip.jl:6
 [4] runtime_version()
   @ AMDGPU.HIP C:\Users\Bart\.julia\packages\AMDGPU\9fy2k\src\hip\HIP.jl:22
 [5] top-level scope
   @ REPL[8]:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions