Add support for hsaKmtRegisterGraphicsHandleToNodes

Change-Id: I6fd7154dea78188480d5cb89ac237bad572356c4
This commit is contained in:
Felix Kuehling
2016-03-05 01:12:40 -05:00
parent b1393f8224
commit 61ec3df2f9
6 changed files with 208 additions and 20 deletions
+7
View File
@@ -498,6 +498,13 @@ typedef struct _HsaMemMapFlags
};
} HsaMemMapFlags;
typedef struct _HsaGraphicsResourceInfo {
void *MemoryAddress; // For use in hsaKmtMapMemoryToGPU(Nodes)
HSAuint64 SizeInBytes; // Buffer size
const void *Metadata; // Pointer to metadata owned by Thunk
HSAuint32 MetadataSizeInBytes; // Size of metadata
HSAuint32 Reserved; // Reserved for future use, will be set to 0
} HsaGraphicsResourceInfo;
typedef enum _HSA_CACHING_TYPE
{