2
0

KFDTest: remove the usage global g_TestGPUFamilyId

Adjust the KFDTest for multi-gou support

Change-Id: Ib3491e3f645d35fdba6ab702d65fcc86f48d3958
Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Este cometimento está contido em:
shaoyunl
2019-07-16 16:46:39 -04:00
ascendente e9882daf11
cometimento b4e834ab61
16 ficheiros modificados com 47 adições e 18 eliminações
+1 -1
Ver ficheiro
@@ -63,7 +63,7 @@ unsigned int SDMAQueue::RptrWhenConsumed() {
void SDMAQueue::SubmitPacket() {
// m_pending Wptr is in dwords
if (g_TestGPUFamilyId < FAMILY_AI) {
if (m_FamilyId < FAMILY_AI) {
// Pre-Vega10 uses 32-bit wptr and doorbell
unsigned int wPtrInBytes = m_pendingWptr * sizeof(unsigned int);
MemoryBarrier();