there is no ompi_list_set_size
This commit was SVN r1975.
Этот коммит содержится в:
родитель
57e70e4692
Коммит
6f92bb58ac
@ -40,7 +40,11 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
/* check set_size/get_size */
|
/* check set_size/get_size */
|
||||||
tmp_list_size=4;
|
tmp_list_size=4;
|
||||||
|
/*
|
||||||
|
*** there is no ompi_list_set_size ***
|
||||||
ompi_list_set_size(&list,tmp_list_size);
|
ompi_list_set_size(&list,tmp_list_size);
|
||||||
|
*/
|
||||||
|
/*
|
||||||
list_size=ompi_list_get_size(&list);
|
list_size=ompi_list_get_size(&list);
|
||||||
if( list_size == tmp_list_size ) {
|
if( list_size == tmp_list_size ) {
|
||||||
test_success();
|
test_success();
|
||||||
@ -48,7 +52,8 @@ int main(int argc, char **argv)
|
|||||||
test_failure(" ompi_list_set_size/ompi_list_get_size");
|
test_failure(" ompi_list_set_size/ompi_list_get_size");
|
||||||
}
|
}
|
||||||
ompi_list_set_size(&list,0);
|
ompi_list_set_size(&list,0);
|
||||||
|
*/
|
||||||
|
|
||||||
/* create test elements */
|
/* create test elements */
|
||||||
size_elements=4;
|
size_elements=4;
|
||||||
elements=(test_data_t *)malloc(sizeof(test_data_t)*size_elements);
|
elements=(test_data_t *)malloc(sizeof(test_data_t)*size_elements);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user