libhsakmt: Update context save handling for multi XCC
Allocate debug area big enough for all XCCs in the partition. Also, fix the cu_num calculations as driver now reports cu_num as the total number of CUs in the partition. Signed-off-by: Mukul Joshi <mukul.joshi@amd.com> Change-Id: I6e80d57196b770bb3c2506bc58cb366c0046084b
This commit is contained in:
zatwierdzone przez
Graham Sider
rodzic
6be4461a0d
commit
97a669a979
@@ -329,10 +329,10 @@ typedef struct _HsaNodeProperties
|
||||
HSAuint32 VGPRSizePerCU; // VGPR size in bytes per CU
|
||||
HSAuint32 SGPRSizePerCU; // SGPR size in bytes per CU
|
||||
|
||||
HSAuint32 NumXcc; // Number of XCC
|
||||
HSAuint32 KFDGpuID; // GPU Hash ID generated by KFD
|
||||
|
||||
HSAuint32 FamilyID; // GPU family id
|
||||
HSAuint8 Reserved[4];
|
||||
} HsaNodeProperties;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user