[amdgpu] Can compute kernels with different VMIDs run concurrently on the gpu hardware

Christian König ckoenig.leichtzumerken at gmail.com
Fri Mar 5 08:00:57 UTC 2021



Am 05.03.21 um 04:59 schrieb Felix Kuehling:
> Am 2021-03-04 um 3:03 a.m. schrieb Smith John:
>> Hi! I noticed that kernels with different VMIDs have different GPU
>> address spaces. I was wondering if it is possible for these kernels to
>> run concurrently on the same GPU, or they need to be serialized even
>> when there are free CUs.
> They can run concurrently. That's the point of having multiple VMIDs in
> the first place.

What can of course happen is that they fight for other resources like 
memory.

The most efficient usage is still to make sure that your compute job can 
keep CUs busy as much as possible.

The intention of different VMIDs is to help while switching between 
applications.

Regards,
Christan.

>
> Regards,
>    Felix
>
>
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx



More information about the amd-gfx mailing list