-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Description
I'm only on one system with AMD MI100 (and using ROCm 6.0.2).
With any version of AMDGPU.jl greater than 0.8.6, I get the following error when calling zeros (this comes from v1.1.6):
julia> AMDGPU.zeros(Float64, 10)
ERROR: HIPError(code hipErrorInvalidValue, one or more arguments outside of acceptable range)
Stacktrace:
[1] check(err::AMDGPU.HIP.hipError_t)
@ AMDGPU.HIP ~/julia_depot/packages/AMDGPU/a1MFN/src/hip/error.jl:145
[2] macro expansion
@ ~/julia_depot/packages/AMDGPU/a1MFN/src/utils.jl:135 [inlined]
[3] hipMemGetInfo(free::Base.RefValue{UInt64}, total::Base.RefValue{UInt64})
@ AMDGPU.HIP ~/julia_depot/packages/AMDGPU/a1MFN/src/hip/libhip.jl:209
[4] info
@ ~/julia_depot/packages/AMDGPU/a1MFN/src/memory.jl:10 [inlined]
[5] free
@ ~/julia_depot/packages/AMDGPU/a1MFN/src/memory.jl:20 [inlined]
[6] maybe_collect(; blocking::Bool)
@ AMDGPU ~/julia_depot/packages/AMDGPU/a1MFN/src/memory.jl:157
[7] maybe_collect
@ ~/julia_depot/packages/AMDGPU/a1MFN/src/memory.jl:144 [inlined]
[8] AMDGPU.Runtime.Mem.HIPBuffer(bytesize::Int64; stream::HIPStream)
@ AMDGPU.Runtime.Mem ~/julia_depot/packages/AMDGPU/a1MFN/src/runtime/memory/hip.jl:42
[9] pool_alloc
@ ~/julia_depot/packages/AMDGPU/a1MFN/src/memory.jl:270 [inlined]
[10] ROCArray{Float64, 1, AMDGPU.Runtime.Mem.HIPBuffer}(::UndefInitializer, dims::Tuple{Int64})
@ AMDGPU ~/julia_depot/packages/AMDGPU/a1MFN/src/array.jl:15
[11] ROCArray
@ ~/julia_depot/packages/AMDGPU/a1MFN/src/array.jl:88 [inlined]
[12] (ROCArray{Float64})(::UndefInitializer, dims::Int64)
@ AMDGPU ~/julia_depot/packages/AMDGPU/a1MFN/src/array.jl:106
[13] zeros(T::Type, dims::Int64)
@ AMDGPU ~/julia_depot/packages/AMDGPU/a1MFN/src/array.jl:259
[14] top-level scope
@ REPL[9]:1Metadata
Metadata
Assignees
Labels
No labels