Thunk API to allocate queue GWS

Change-Id: I6c5b109e2567cb71aed9245923cfcbeee6295ab2
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Bu işleme şunda yer alıyor:
Oak Zeng
2019-05-10 12:38:12 -05:00
ebeveyn 45d717d860
işleme 65d554f5e4
3 değiştirilmiş dosya ile 55 ekleme ve 0 silme
+12
Dosyayı Görüntüle
@@ -571,6 +571,18 @@ hsaKmtUnmapGraphicHandle(
HSAuint64 SizeInBytes //IN
);
/**
Allocate GWS resource for a queue
*/
HSAKMT_STATUS
HSAKMTAPI
hsaKmtAllocQueueGWS(
HSAuint32 NodeId, //IN
HSA_QUEUEID QueueId, //IN
HSAuint32 nGWS, //IN
HSAuint32 *firstGWS //OUT
);
/**
Notifies the kernel driver that a process wants to use GPU debugging facilities