KFDTest : Add gfx1xxx release_mem and acquire_mem packet support

use family ID as parameter when construct the packets

Change-Id: I6c1706954ab7b8cbb8bef2aab16edf21f5e1abf0
Signed-off-by: shaoyunl <shaoyun.liu@amd.com>


[ROCm/ROCR-Runtime commit: e9882daf11]
This commit is contained in:
shaoyunl
2019-07-17 14:25:02 -04:00
committed by Shaoyun Liu
orang tua c2d5d06c43
melakukan 6f29801c64
9 mengubah file dengan 196 tambahan dan 113 penghapusan
@@ -164,7 +164,7 @@ TEST_F(KFDRASTest, MixEventsTest) {
ASSERT_SUCCESS(queue.Create(m_defaultGPUNode));
queue.PlaceAndSubmitPacket(PM4ReleaseMemoryPacket(false,
queue.PlaceAndSubmitPacket(PM4ReleaseMemoryPacket(m_FamilyId, false,
pHsaEvent->EventData.HWData2, pHsaEvent->EventId));
queue.Wait4PacketConsumption();