libhsakmt: add FamilyID info into HsaNodeProperties
Query family id info from drm render node, then ROCr can query this info directly from Thunk instead of parsing the info by itself. Signed-off-by: Lang Yu <Lang.Yu@amd.com> Change-Id: I030bd27ab2379fbf87f3d787302c3b8613456278
This commit is contained in:
@@ -330,7 +330,9 @@ typedef struct _HsaNodeProperties
|
||||
HSAuint32 SGPRSizePerCU; // SGPR size in bytes per CU
|
||||
|
||||
HSAuint32 KFDGpuID; // GPU Hash ID generated by KFD
|
||||
HSAuint8 Reserved[8];
|
||||
|
||||
HSAuint32 FamilyID; // GPU family id
|
||||
HSAuint8 Reserved[4];
|
||||
} HsaNodeProperties;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user