Add support for hsaKmtRegisterGraphicsHandleToNodes
Change-Id: I6fd7154dea78188480d5cb89ac237bad572356c4
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user