Fix GWS test function call parameter issue

Change-Id: I3f4fde9ec8268362cffecb2d95177913b583486f
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Tá an tiomantas seo le fáil i:
Oak Zeng
2020-01-05 15:43:38 -06:00
tiomanta ag Kent Russell
tuismitheoir 06464b917d
tiomantas 38b429fd52
+2 -4
Féach ar an gComhad
@@ -107,8 +107,7 @@ TEST_F(KFDGWSTest, Allocate) {
}
ASSERT_SUCCESS(queue.Create(defaultGPUNode));
ASSERT_SUCCESS(hsaKmtAllocQueueGWS(defaultGPUNode,
queue.GetResource()->QueueId,
ASSERT_SUCCESS(hsaKmtAllocQueueGWS(queue.GetResource()->QueueId,
pNodeProperties->NumGws,&firstGWS));
EXPECT_EQ(0, firstGWS);
EXPECT_SUCCESS(queue.Destroy());
@@ -134,8 +133,7 @@ TEST_F(KFDGWSTest, Semaphore) {
HsaMemoryBuffer isaBuffer(PAGE_SIZE, defaultGPUNode, true/*zero*/, false/*local*/, true/*exec*/);
HsaMemoryBuffer buffer(PAGE_SIZE, defaultGPUNode, true, false, false);
ASSERT_SUCCESS(queue.Create(defaultGPUNode));
ASSERT_SUCCESS(hsaKmtAllocQueueGWS(defaultGPUNode,
queue.GetResource()->QueueId,
ASSERT_SUCCESS(hsaKmtAllocQueueGWS(queue.GetResource()->QueueId,
pNodeProperties->NumGws,&firstGWS));
EXPECT_EQ(0, firstGWS);