Home
last modified time | relevance | path

Searched refs:group_list (Results 1 – 25 of 31) sorted by relevance

12

/third_party/mindspore/tests/ut/cpp/parallel/
Ddevice_matrix_test.cc38 std::vector<RankList> group_list; in TEST_F() local
39 if (arr.CreateGroupList() == Status::SUCCESS) group_list = arr.group_list(); in TEST_F()
41 ASSERT_EQ(group_list, group_list_expect); in TEST_F()
49 std::vector<RankList> group_list; in TEST_F() local
50 if (arr.CreateGroupList() == Status::SUCCESS) group_list = arr.group_list(); in TEST_F()
52 ASSERT_EQ(group_list, group_list_expect); in TEST_F()
60 std::vector<RankList> group_list; in TEST_F() local
61 if (arr.CreateGroupList() == Status::SUCCESS) group_list = arr.group_list(); in TEST_F()
63 ASSERT_EQ(group_list, group_list_expect); in TEST_F()
72 std::vector<RankList> group_list; in TEST_F() local
[all …]
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/tensor_layout/
Dconstruct_operator.cc97 std::vector<Group> group_list; in StridedSliceOP() local
99 if (CreateGroupByDim(dev_size_ - LongToSize(dev_dim) - 1, &group_list) != SUCCESS) { in StridedSliceOP()
102 } else if (group_list.empty()) { // this group only has one device, don't need do StridedSlice in StridedSliceOP()
107 Group group = group_list[0]; in StridedSliceOP()
145 std::vector<Group> group_list; in AllGatherOP() local
146 if (CreateGroupByDim(dev_size_ - LongToSize(dev_dim) - 1, &group_list) != SUCCESS) { in AllGatherOP()
149 } else if (group_list.empty()) { // this group only has one device, don't need do allgather in AllGatherOP()
154 std::string group_name = group_list[0].name(); in AllGatherOP()
223 std::vector<Group> group_list; in AlltoAllOP() local
224 if (CreateGroupByDim(dev_size_ - LongToSize(dev_dim) - 1, &group_list) != SUCCESS) { in AlltoAllOP()
[all …]
/third_party/ltp/testcases/network/multicast/mc_member/
Dmc_member_test.c24 char *group_list = NULL, *interface = NULL; in main() local
49 group_list = optarg; in main()
64 if (access(group_list, R_OK) != 0) { in main()
65 printf("Unabled to read group file %s\n", group_list); in main()
96 join_group(s, group_list, &imr); in main()
101 leave_group(s, group_list, &imr); in main()
/third_party/mesa3d/src/intel/compiler/
Dbrw_disasm_info.c45 foreach_list_typed(struct inst_group, group, link, &disasm->group_list) { in dump_assembly()
111 exec_list_make_empty(&disasm->group_list); in disasm_initialize()
124 exec_list_push_tail(&disasm->group_list, &tail->link); in disasm_new_inst_group()
141 exec_list_get_tail_raw(&disasm->group_list), link); in disasm_annotate()
175 foreach_list_typed(struct inst_group, cur, link, &disasm->group_list) { in disasm_insert_error()
Dbrw_disasm_info.h57 struct exec_list group_list; member
/third_party/mbedtls/library/
Dssl_tls13_client.c149 const uint16_t *group_list = mbedtls_ssl_get_groups( ssl ); in ssl_tls13_write_named_group_list_ecdhe() local
151 if( group_list == NULL ) in ssl_tls13_write_named_group_list_ecdhe()
154 for ( ; *group_list != 0; group_list++ ) in ssl_tls13_write_named_group_list_ecdhe()
157 curve_info = mbedtls_ecp_curve_info_from_tls_id( *group_list ); in ssl_tls13_write_named_group_list_ecdhe()
161 if( !mbedtls_ssl_tls13_named_group_is_ecdhe( *group_list ) ) in ssl_tls13_write_named_group_list_ecdhe()
165 MBEDTLS_PUT_UINT16_BE( *group_list, p, 0 ); in ssl_tls13_write_named_group_list_ecdhe()
169 curve_info->name, *group_list ) ); in ssl_tls13_write_named_group_list_ecdhe()
324 const uint16_t *group_list = mbedtls_ssl_get_groups( ssl ); in ssl_tls13_get_default_group_id() local
326 if( group_list == NULL ) in ssl_tls13_get_default_group_id()
329 for ( ; *group_list != 0; group_list++ ) in ssl_tls13_get_default_group_id()
[all …]
Dssl_misc.h594 const uint16_t *group_list; member
1738 return( ssl->MBEDTLS_PRIVATE(conf)->MBEDTLS_PRIVATE(group_list) ); in mbedtls_ssl_get_groups()
1740 …->MBEDTLS_PRIVATE(handshake) != NULL ) && ( ssl->MBEDTLS_PRIVATE(handshake)->group_list != NULL ) ) in mbedtls_ssl_get_groups()
1741 return( ssl->MBEDTLS_PRIVATE(handshake)->group_list ); in mbedtls_ssl_get_groups()
1743 return( ssl->MBEDTLS_PRIVATE(conf)->MBEDTLS_PRIVATE(group_list) ); in mbedtls_ssl_get_groups()
Dssl_tls.c3124 uint16_t *group_list = mbedtls_calloc( length + 1, sizeof(uint16_t) ); in ssl_handshake_init() local
3125 if ( group_list == NULL ) in ssl_handshake_init()
3134 mbedtls_free( group_list ); in ssl_handshake_init()
3137 group_list[i] = info->tls_id; in ssl_handshake_init()
3140 group_list[length] = 0; in ssl_handshake_init()
3142 ssl->handshake->group_list = group_list; in ssl_handshake_init()
3147 ssl->handshake->group_list = ssl->conf->group_list; in ssl_handshake_init()
4021 conf->group_list = NULL; in mbedtls_ssl_conf_curves()
4030 const uint16_t *group_list ) in mbedtls_ssl_conf_groups() argument
4035 conf->group_list = group_list; in mbedtls_ssl_conf_groups()
[all …]
Dssl_cli.c314 const uint16_t *group_list = mbedtls_ssl_get_groups( ssl ); in ssl_write_supported_elliptic_curves_ext() local
323 if( group_list == NULL ) in ssl_write_supported_elliptic_curves_ext()
326 for( ; *group_list != 0; group_list++ ) in ssl_write_supported_elliptic_curves_ext()
328 info = mbedtls_ecp_curve_info_from_tls_id( *group_list ); in ssl_write_supported_elliptic_curves_ext()
339 MBEDTLS_PUT_UINT16_BE( *group_list, elliptic_curve_list, elliptic_curve_len ); in ssl_write_supported_elliptic_curves_ext()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Dbatchnorm_info.cc182 std::vector<Group> group_list; in InferForwardCommunication() local
183 if (CreateGroupByTensorMap(tmp_map, &group_list) != SUCCESS) { in InferForwardCommunication()
188 if (group_list.empty()) { in InferForwardCommunication()
192 MS_LOG(INFO) << name_ << ": The group name of forward all reduce is " << group_list[0].name(); in InferForwardCommunication()
195 forward_allreduce_group_ = group_list; in InferForwardCommunication()
Dunsorted_segment_op_info.cc213 std::vector<Group> group_list; in InferForwardCommunication() local
218 if (CreateGroupByTensorMap(tmp_group_tensor_map, &group_list) != SUCCESS) { in InferForwardCommunication()
221 } else if (group_list.empty()) { in InferForwardCommunication()
226 Operator op = CreateAllReduceOp(REDUCE_OP_SUM, group_list[0].name()); in InferForwardCommunication()
228 MS_LOG(INFO) << name_ << " : The group name of forward communication is " << group_list[0].name(); in InferForwardCommunication()
Dmatmul_info.cc227 std::vector<Group> group_list; in InferForwardCommunication() local
228 if (CreateGroupByDim(relevant_dimension_index, &group_list) != SUCCESS) { in InferForwardCommunication()
231 } else if (group_list.empty()) { in InferForwardCommunication()
238 op = CreateReduceScatterOp(REDUCE_OP_SUM, group_list[0].name()); in InferForwardCommunication()
240 op = CreateAllReduceOp(REDUCE_OP_SUM, group_list[0].name()); in InferForwardCommunication()
244 MS_LOG(INFO) << name_ << " : The group name of forward communication is " << group_list[0].name(); in InferForwardCommunication()
Dconv2d_info.cc513 std::vector<Group> group_list; in InferForwardCommunication() local
514 if (CreateGroupByDim(relevant_dim_index, &group_list) != SUCCESS) { in InferForwardCommunication()
519 if (group_list.empty()) { in InferForwardCommunication()
524 Operator op = CreateAllReduceOp(REDUCE_OP_SUM, group_list[0].name()); in InferForwardCommunication()
526 MS_LOG(INFO) << name_ << ": The group name of forward all reduce is " << group_list[0].name(); in InferForwardCommunication()
/third_party/python/Lib/test/test_email/
Dtest__header_value_parser.py2086 group_list = self._test_get_x(parser.get_group_list,
2092 self.assertEqual(group_list.token_type, 'group-list')
2093 self.assertEqual(len(group_list.mailboxes), 0)
2094 self.assertEqual(group_list.mailboxes,
2095 group_list.all_mailboxes)
2098 group_list = self._test_get_x(parser.get_group_list,
2104 self.assertEqual(group_list.token_type, 'group-list')
2105 self.assertEqual(len(group_list.mailboxes), 2)
2106 self.assertEqual(group_list.mailboxes,
2107 group_list.all_mailboxes)
[all …]
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Ddevice_matrix.h37 std::vector<RankList> group_list() const { return group_list_; } in group_list() function
/third_party/python/Lib/email/
D_header_value_parser.py1884 group_list = GroupList()
1886 group_list.defects.append(errors.InvalidHeaderDefect(
1888 return group_list, value
1896 group_list.defects.append(errors.InvalidHeaderDefect(
1898 group_list.append(leader)
1899 return group_list, value
1901 group_list.append(leader)
1902 return group_list, value
1906 group_list.append(leader)
1907 group_list.extend(token)
[all …]
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfcapturewinrt.cpp239 std::vector < GstWinRTMediaFrameSourceGroup > group_list; in gst_mf_capture_winrt_thread_func() local
257 hr = self->capture->EnumrateFrameSourceGroup (group_list); in gst_mf_capture_winrt_thread_func()
262 for (const auto& iter: group_list) { in gst_mf_capture_winrt_thread_func()
275 for (const auto& iter: group_list) { in gst_mf_capture_winrt_thread_func()
Dmediacapturewrapper.h132 HRESULT EnumrateFrameSourceGroup(std::vector<GstWinRTMediaFrameSourceGroup> &group_list);
/third_party/mesa3d/src/intel/common/
Dintel_disasm.c86 &disasm_info->group_list) { in intel_disassemble()
/third_party/mindspore/mindspore/boost/
Dboost_cell_wrapper.py188group_list = [list(range(x * self.degree, (x + 1) * self.degree)) for x in range(group_number)]
191 create_group(server_group_name, group_list[current_index])
/third_party/mbedtls/programs/ssl/
Dssl_client2.c684 uint16_t group_list[CURVE_LIST_SIZE]; in main() local
1457 group_list[0] = 0; in main()
1474 group_list[i++] = curve_cur->tls_id; in main()
1500 group_list[i] = 0; in main()
1903 mbedtls_ssl_conf_groups( &conf, group_list ); in main()
Dssl_server2.c1347 uint16_t group_list[CURVE_LIST_SIZE]; in main() local
2201 group_list[0] = 0; in main()
2218 group_list[i++] = curve_cur->tls_id; in main()
2244 group_list[i] = 0; in main()
2907 mbedtls_ssl_conf_groups( &conf, group_list ); in main()
/third_party/glib/glib/
Dgoption.c773 GList *group_list, in group_list_has_visible_entries() argument
776 while (group_list) in group_list_has_visible_entries()
778 if (group_has_visible_entries (context, group_list->data, main_entries)) in group_list_has_visible_entries()
781 group_list = group_list->next; in group_list_has_visible_entries()
/third_party/mindspore/mindspore/nn/layer/
Dnormalization.py176 group_list = [list(i) for i in world_rank_list]
177 return group_list
/third_party/python/Lib/test/
Dtest_subprocess.py1932 group_list = [65534 if gid != 65534 else 65533]
1936 group_list.append(name_group)
1938 for group in group_list + [gid]:
1979 group_list = [65534 if gid != 65534 else 65533]
1984 group_list.append(name_group)
1990 extra_groups=group_list)
2002 for g in group_list]
2004 desired_gids = group_list

12