Agreed - MEC microcode uses atomics when the queue type is set to AQL (rather than PM4). >-----Original Message----- >From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf Of >Liu, Shaoyun >Sent: Wednesday, January 03, 2018 11:24 AM >To: tstellar at redhat.com; Felix Kühling; amd-gfx at lists.freedesktop.org >Cc: Kuehling, Felix >Subject: RE: PCIe3 atomics requirement for amdkfd > >I think currently atomic Ops are only used in AQL package which is only >available for ROCm , graphics workload will not use AQL package. > >Regards >Shaoyun.liu > >-----Original Message----- >From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf Of >Tom Stellard >Sent: Wednesday, January 03, 2018 9:57 AM >To: Felix Kühling; amd-gfx at lists.freedesktop.org >Cc: Kuehling, Felix >Subject: Re: PCIe3 atomics requirement for amdkfd > >On 12/23/2017 07:40 AM, Felix Kühling wrote: >> As I understand it, it would require changes in the ROCr Runtime and >> in the firmware (MEC microcode). It also changes the programming >> model, so it may affect certain applications or higher level language >> runtimes that rely on atomic operations. >> > >How does the MEC microcode know that it is running a ROCm workload as >opposed to a graphics workload that doesn't require PCIe3 atomics. Is there a >specific configuration bit that is set to indicate the ROCm programming model >is needed? > >-Tom > >> Regards, >> Felix >> >> >> Am 19.12.2017 um 16:04 schrieb Tom Stellard: >>> Hi, >>> >>> How hard of a requirement is PCIe3 atomics for dGPUs with the amdkfd >>> kernel driver? Is it possible to make modifications to the >>> runtime/kernel driver to drop this requirement? >>> >>> -Tom >>> _______________________________________________ >>> 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 >_______________________________________________ >amd-gfx mailing list >amd-gfx at lists.freedesktop.org >https://lists.freedesktop.org/mailman/listinfo/amd-gfx