NNlib.jl
NNlib.jl copied to clipboard
Wanring on using Upsample on AMDGPU
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