Repository navigation
[TEMP][DO NOT REVIEW] Isolate PR 11685 mock topology state #11861
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
5fa905a
8e90a98
d093cd3
638f131
f1549fe
d32210a
de96cc6
2d5daed
8936637
f8e568c
093ce68
0555af1
f2a4ba2
f0e7095
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1024,7 +1024,7 @@ run_malloc_hook_gtest() { | |
| } | ||
|
|
||
| set_gtest_common_test_flags() { | ||
| export GTEST_RANDOM_SEED=0 | ||
| export GTEST_RANDOM_SEED=37290 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. minor — Only Suggestion: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why hardcode the gtest random seed here? this changes the shuffle order for all gtests and looks unrelated to the rndv sys_dev fix. also |
||
| export GTEST_SHUFFLE=1 | ||
| # Run UCT tests for TCP over fastest device only | ||
| export GTEST_UCT_TCP_FASTEST_DEV=1 | ||
|
|
@@ -1040,7 +1040,7 @@ set_gtest_make_test_flags() { | |
| # Report TOP-20 longest test at the end of testing | ||
| export GTEST_REPORT_LONGEST_TESTS=20 | ||
|
|
||
| GTEST_EXTRA_ARGS="" | ||
| GTEST_EXTRA_ARGS="-s 11689" | ||
| if [ "$TEST_PERF" == 1 ] && [[ "$VALGRIND_CHECK" != "yes" ]] | ||
| then | ||
| # Check performance with 10 retries and 2 seconds interval | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -331,9 +331,13 @@ static ucp_proto_select_param_t ucp_proto_rndv_remote_select_param_init( | |
| &mem_info, select_param->sg_count); | ||
| } else { | ||
| /* If we know the remote buffer parameters, these are actually the local | ||
| * parameters for the remote protocol | ||
| * parameters for the remote protocol. The rkey system device belongs | ||
| * to the remote topology namespace, so it cannot represent a local | ||
| * device while estimating the protocol that the peer will select. | ||
| * The peer will use its actual local system device when selecting the | ||
| * protocol. | ||
| */ | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Non-blocking (core fix): Setting |
||
| mem_info.sys_dev = init_params->rkey_config_key->sys_dev; | ||
| mem_info.sys_dev = UCS_SYS_DEVICE_ID_UNKNOWN; | ||
| mem_info.type = init_params->rkey_config_key->mem_type; | ||
| mem_info.flags = ucp_proto_rndv_rkey_mem_flags_estimate(init_params); | ||
| ucp_proto_select_param_init(&remote_select_param, params->remote_op_id, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,6 +44,24 @@ ucp_proto_rndv_mtype_init(const ucp_proto_init_params_t *init_params, | |
| return UCS_OK; | ||
| } | ||
|
|
||
| typedef struct { | ||
| ucp_proto_init_params_t super; | ||
| ucp_proto_select_param_t select_param; | ||
| } ucp_proto_rndv_mtype_init_params_t; | ||
|
|
||
| static UCS_F_ALWAYS_INLINE void ucp_proto_rndv_mtype_init_params_prepare( | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Non-blocking: Overriding |
||
| const ucp_proto_init_params_t *init_params, | ||
| const ucp_memory_info_t *frag_mem_info, | ||
| ucp_proto_rndv_mtype_init_params_t *mtype_init_params) | ||
| { | ||
| /* Use the staging buffer device for local lane modeling without changing | ||
| * the protocol selection lookup key. */ | ||
| mtype_init_params->select_param = *init_params->select_param; | ||
| mtype_init_params->select_param.sys_dev = frag_mem_info->sys_dev; | ||
| mtype_init_params->super = *init_params; | ||
| mtype_init_params->super.select_param = &mtype_init_params->select_param; | ||
| } | ||
|
|
||
| static UCS_F_ALWAYS_INLINE ucs_status_t | ||
| ucp_proto_rndv_mtype_request_init(ucp_request_t *req, | ||
| ucs_memory_type_t frag_mem_type, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-blocking: Entry is correctly alphabetically ordered.