NNlib.jl icon indicating copy to clipboard operation
NNlib.jl copied to clipboard

Wanring on using Upsample on AMDGPU

Open countradooku opened this issue 1 year ago • 0 comments

i have an amd rx 7900xtx with ubuntu.

noise = 0.5f0 + 0.001f0 .+ AMDGPU.randn(Float32, 32, 32, 1, 1)
layer1 = Upsample(:bilinear, size=(64, 64)) |> gpu
layer1(noise)

when i run this i get

┌ Warning: Global hostcalls detected: [:malloc_hostcall].
│ Use `AMDGPU.synchronize(; stop_hostcalls=false)` to synchronize and stop them.
│ Otherwise, performance might degrade if they keep running in the background

countradooku avatar Apr 09 '24 10:04 countradooku