From be04fa8250041c704ccf5dc16848c2ee4e8b1d37 Mon Sep 17 00:00:00 2001 From: Flora Cui Date: Thu, 8 Jan 2026 09:56:39 +0800 Subject: [PATCH] rocr: reorder HsaNodeProperties to improve compatibility (#2447) Signed-off-by: Flora Cui --- projects/rocr-runtime/libhsakmt/include/hsakmt/hsakmttypes.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/rocr-runtime/libhsakmt/include/hsakmt/hsakmttypes.h b/projects/rocr-runtime/libhsakmt/include/hsakmt/hsakmttypes.h index 5516d6f7d9..4e45a1d4b4 100644 --- a/projects/rocr-runtime/libhsakmt/include/hsakmt/hsakmttypes.h +++ b/projects/rocr-runtime/libhsakmt/include/hsakmt/hsakmttypes.h @@ -346,12 +346,13 @@ typedef struct _HsaNodeProperties HSAuint32 SGPRSizePerCU; // SGPR size in bytes per CU HSAuint32 NumXcc; // Number of XCC - HSAuint32 CwsrSize; // Size of the CWSR - HSAuint32 CtlStackSize; // Size of the control stack HSAuint32 KFDGpuID; // GPU Hash ID generated by KFD HSAuint32 FamilyID; // GPU family id + HSAuint32 CwsrSize; // Size of the CWSR + HSAuint32 CtlStackSize; // Size of the control stack + HSAuint32 LuidLowPart; // Windows Locally Unique Identifier Low 4 bytes HSAuint32 LuidHighPart; // Windows Locally Unique Identifier High 4 bytes } HsaNodeProperties;