You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Julia 1.9.3 with the latest master with system ROCm 5.4 the result of a .+ b is not synchronized in the REPL.
julia>using AMDGPU
julia> a =ROCVector(ones(2))
2-element ROCArray{Float64, 1, AMDGPU.Runtime.Mem.HIPBuffer}:1.01.0
julia> b =ROCVector(ones(2))
2-element ROCArray{Float64, 1, AMDGPU.Runtime.Mem.HIPBuffer}:1.01.0
julia> a .+ b
2-element ROCArray{Float64, 1, AMDGPU.Runtime.Mem.HIPBuffer}:-1.8325506472120096e-6-1.8325506472120096e-6
julia>@show a .+ b
a .+ b = [2.0, 2.0]
2-element ROCArray{Float64, 1, AMDGPU.Runtime.Mem.HIPBuffer}:2.02.0
The text was updated successfully, but these errors were encountered:
That may occur since the REPL may print after the kernel launch returned while computations were not finalised. One would need sync afterwards. This behaviour was already observed with earlier versions of Julia and AMDGPU.
On Julia 1.9.3 with the latest
master
with system ROCm 5.4 the result ofa .+ b
is not synchronized in the REPL.The text was updated successfully, but these errors were encountered: