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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Am 01.04.21 um 20:22 schrieb Alex Deucher:
On Thu, Apr 1, 2021 at 10:08 AM Smith John <ls.cat.kth@xxxxxxxxx> 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.

Well that is not 100% correct.

When the job has already been pushed to the hardware it indeed runs till the end.

But when the job is still in the scheduler and the process which has submitted it is killed we also throw away the job.

This obviously only counts for the classic stack and not for the KFD.

Christian.


Alex
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux