Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning on using Upsample on AMDGPU #573

Closed
radudiaconu0 opened this issue Apr 9, 2024 · 2 comments · Fixed by #591
Closed

Warning on using Upsample on AMDGPU #573

radudiaconu0 opened this issue Apr 9, 2024 · 2 comments · Fixed by #591
Assignees

Comments

@radudiaconu0
Copy link

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
@pxl-th pxl-th self-assigned this May 19, 2024
@radudiaconu0
Copy link
Author

@pxl-th any progress on this?

@pxl-th pxl-th changed the title Wanring on using Upsample on AMDGPU Warning on using Upsample on AMDGPU Jun 15, 2024
@pxl-th pxl-th mentioned this issue Jun 15, 2024
2 tasks
@pxl-th
Copy link
Member

pxl-th commented Jun 15, 2024

See #591.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants