Merge pull request #124 from wplf/patch-1

Fix typo in nvshmem.patch
This commit is contained in:
Shangyan Zhou 2025-04-16 10:57:31 +08:00 committed by GitHub
commit a84a24808f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -340,8 +340,9 @@ index 1be3dec..ea1e284 100644
char padding[NVSHMEMI_IBGDA_QP_MANAGEMENT_PADDING]; char padding[NVSHMEMI_IBGDA_QP_MANAGEMENT_PADDING];
} __attribute__((__aligned__(8))) nvshmemi_ibgda_device_qp_management_v1; } __attribute__((__aligned__(8))) nvshmemi_ibgda_device_qp_management_v1;
-static_assert(sizeof(nvshmemi_ibgda_device_qp_management_v1) == 104, -static_assert(sizeof(nvshmemi_ibgda_device_qp_management_v1) == 104,
- "ibgda_device_qp_management_v1 must be 104 bytes.");
+static_assert(sizeof(nvshmemi_ibgda_device_qp_management_v1) == 112, +static_assert(sizeof(nvshmemi_ibgda_device_qp_management_v1) == 112,
"ibgda_device_qp_management_v1 must be 104 bytes."); + "ibgda_device_qp_management_v1 must be 112 bytes.");
typedef nvshmemi_ibgda_device_qp_management_v1 nvshmemi_ibgda_device_qp_management_t; typedef nvshmemi_ibgda_device_qp_management_v1 nvshmemi_ibgda_device_qp_management_t;
@@ -214,7 +215,7 @@ typedef struct nvshmemi_ibgda_device_qp { @@ -214,7 +215,7 @@ typedef struct nvshmemi_ibgda_device_qp {