Add hsaKmtRegisterMemoryWithFlags.
API follows hsaKmtRegisterMemory but allows passing HsaMemFlags. Change-Id: I66a230a87c8b085f27c769bdf2cb4d0d96a5d6dd
Dieser Commit ist enthalten in:
+13
-1
@@ -400,6 +400,18 @@ hsaKmtRegisterMemoryToNodes(
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Registers with KFD a memory buffer with memory attributes
|
||||
*/
|
||||
|
||||
HSAKMT_STATUS
|
||||
HSAKMTAPI
|
||||
hsaKmtRegisterMemoryWithFlags(
|
||||
void *MemoryAddress, // IN (cache-aligned)
|
||||
HSAuint64 MemorySizeInBytes, // IN (cache-aligned)
|
||||
HsaMemFlags MemFlags // IN
|
||||
);
|
||||
|
||||
/**
|
||||
Registers with KFD a graphics buffer and returns graphics metadata
|
||||
*/
|
||||
@@ -515,7 +527,7 @@ hsaKmtMapMemoryToGPUNodes(
|
||||
void* MemoryAddress, //IN (page-aligned)
|
||||
HSAuint64 MemorySizeInBytes, //IN (page-aligned)
|
||||
HSAuint64* AlternateVAGPU, //OUT (page-aligned)
|
||||
HsaMemMapFlags MemMapFlags, //IN
|
||||
HsaMemMapFlags MemMapFlags, //IN
|
||||
HSAuint64 NumberOfNodes, //IN
|
||||
HSAuint32* NodeArray //IN
|
||||
);
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren