Skip to content

Can't stop global hostcalls 😺 #727

@PhilipFackler

Description

@PhilipFackler

I keep getting this:

Warning: Global hostcalls detected!
- Source: MethodInstance for ...
- Hostcalls: [:malloc_hostcall]

Use `AMDGPU.synchronize(; stop_hostcalls=false)` to synchronize and stop them.
Otherwise, performance might degrade if they keep running in the background.

I've tried using AMDGPU.synchronize(; stop_hostcalls=false) (and with stop_hostcalls=true which would make more sense πŸ˜›). No matter where I call that I can't get rid of it.

There are no explicit calls to malloc in my code, and it's not obvious where this is coming from. Is there a tool you all know of to determine where this is being initiated?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions