From 81810a78471608c1d93592e4eb47ea8e2254a7bf Mon Sep 17 00:00:00 2001 From: Nicolas Morey Date: Fri, 7 Nov 2025 17:19:54 +0100 Subject: [PATCH 1/2] UCP/CORE: Fix config type for dynamic_tl_progress_factor Signed-off-by: Nicolas Morey --- src/ucp/core/ucp_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ucp/core/ucp_context.c b/src/ucp/core/ucp_context.c index eaee414dd8c..4a6c46507ba 100644 --- a/src/ucp/core/ucp_context.c +++ b/src/ucp/core/ucp_context.c @@ -445,7 +445,7 @@ static ucs_config_field_t ucp_context_config_table[] = { "Number of usage tracker rounds performed for each progress operation. Must be\n" "non-zero value.", ucs_offsetof(ucp_context_config_t, dynamic_tl_progress_factor), - UCS_CONFIG_TYPE_TIME_UNITS}, + UCS_CONFIG_TYPE_UINT}, {"RESOLVE_REMOTE_EP_ID", "n", "Defines whether resolving remote endpoint ID is required or not when\n" From da4da6df359b652622092cc908853a48b59aa4e7 Mon Sep 17 00:00:00 2001 From: Nicolas Morey Date: Fri, 7 Nov 2025 17:51:31 +0100 Subject: [PATCH 2/2] UCT/SELF: Fix config type for num_devices size_t may be larger than an int. This causes issue on big endian systems Signed-off-by: Nicolas Morey --- src/uct/sm/self/self.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uct/sm/self/self.c b/src/uct/sm/self/self.c index 0c0bc889191..d7042a008c2 100644 --- a/src/uct/sm/self/self.c +++ b/src/uct/sm/self/self.c @@ -57,7 +57,7 @@ static ucs_config_field_t uct_self_md_config_table[] = { UCS_CONFIG_TYPE_TABLE(uct_md_config_table)}, {"NUM_DEVICES", "1", "Number of \"self\" devices to create", - ucs_offsetof(uct_self_md_config_t, num_devices), UCS_CONFIG_TYPE_INT}, + ucs_offsetof(uct_self_md_config_t, num_devices), UCS_CONFIG_TYPE_ULONG}, {NULL} };