[amdgpu] Compute kernels still run when the host process exit?

Alex Deucher alexdeucher at gmail.com
Thu Apr 1 18:22:07 UTC 2021


On Thu, Apr 1, 2021 at 10:08 AM Smith John <ls.cat.kth at gmail.com> wrote:
>
> Hi, when I killed an OpenCL host process, the kernels it launched were not terminated, and still run.
>
> My OpenCL runtime is AMDGPU-PRO 20.20. OS Ubuntu 18.04.5 with  Linux Kernel 5.4.53
>
> I was wondering if it was a bug or the driver did not implement this "watchdog" mechanism.

In general, once you issue work on the GPU it has to run to
completion.  It is not stopped if the application that issued it goes
away.

Alex


More information about the amd-gfx mailing list