|
13 | 13 | * Copyright (c) 2007-2012 Cisco Systems, Inc. All rights reserved. |
14 | 14 | * Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved. |
15 | 15 | * Copyright (c) 2009 Oak Ridge National Labs. All rights reserved. |
16 | | - * Copyright (c) 2013 Los Alamos National Security, LLC. All rights |
| 16 | + * Copyright (c) 2013-2018 Los Alamos National Security, LLC. All rights |
17 | 17 | * reserved. |
18 | 18 | * Copyright (c) 2015-2018 Research Organization for Information Science |
19 | 19 | * and Technology (RIST). All rights reserved. |
@@ -67,8 +67,6 @@ ompi_predefined_datatype_t ompi_mpi_datatype_null = |
67 | 67 |
|
68 | 68 | ompi_predefined_datatype_t ompi_mpi_unavailable = OMPI_DATATYPE_INIT_PREDEFINED (UNAVAILABLE, 0); |
69 | 69 |
|
70 | | -ompi_predefined_datatype_t ompi_mpi_lb = OMPI_DATATYPE_INIT_PREDEFINED (LB, 0); |
71 | | -ompi_predefined_datatype_t ompi_mpi_ub = OMPI_DATATYPE_INIT_PREDEFINED (UB, 0); |
72 | 70 | ompi_predefined_datatype_t ompi_mpi_char = OMPI_DATATYPE_INIT_PREDEFINED (CHAR, OMPI_DATATYPE_FLAG_DATA_C); |
73 | 71 | ompi_predefined_datatype_t ompi_mpi_signed_char = OMPI_DATATYPE_INIT_PREDEFINED (SIGNED_CHAR, OMPI_DATATYPE_FLAG_DATA_C | OMPI_DATATYPE_FLAG_DATA_INT ); |
74 | 72 | ompi_predefined_datatype_t ompi_mpi_unsigned_char = OMPI_DATATYPE_INIT_PREDEFINED (UNSIGNED_CHAR, OMPI_DATATYPE_FLAG_DATA_C | OMPI_DATATYPE_FLAG_DATA_INT ); |
@@ -357,9 +355,6 @@ const ompi_datatype_t* ompi_datatype_basicDatatypes[OMPI_DATATYPE_MPI_MAX_PREDEF |
357 | 355 | [OMPI_DATATYPE_MPI_C_DOUBLE_COMPLEX] = &ompi_mpi_c_double_complex.dt, |
358 | 356 | [OMPI_DATATYPE_MPI_C_LONG_DOUBLE_COMPLEX] = &ompi_mpi_c_long_double_complex.dt, |
359 | 357 |
|
360 | | - [OMPI_DATATYPE_MPI_LB] = &ompi_mpi_lb.dt, |
361 | | - [OMPI_DATATYPE_MPI_UB] = &ompi_mpi_ub.dt, |
362 | | - |
363 | 358 | /* MPI 3.0 types */ |
364 | 359 | [OMPI_DATATYPE_MPI_COUNT] = &ompi_mpi_count.dt, |
365 | 360 |
|
@@ -545,88 +540,86 @@ int32_t ompi_datatype_init( void ) |
545 | 540 | MOOG(datatype_null, 0); |
546 | 541 | MOOG(byte, 1); |
547 | 542 | MOOG(packed, 2); |
548 | | - MOOG(ub, 3); |
549 | | - MOOG(lb, 4); |
550 | | - MOOG(character, 5); |
551 | | - MOOG(logical, 6); |
552 | | - MOOG(integer, 7); |
553 | | - MOOG(integer1, 8); |
554 | | - MOOG(integer2, 9); |
555 | | - MOOG(integer4, 10); |
556 | | - MOOG(integer8, 11); |
557 | | - MOOG(integer16, 12); |
558 | | - MOOG(real, 13); |
559 | | - MOOG(real4, 14); |
560 | | - MOOG(real8, 15); |
561 | | - MOOG(real16, 16); |
562 | | - MOOG(dblprec, 17); |
563 | | - MOOG(cplex, 18); |
564 | | - MOOG(complex8, 19); |
565 | | - MOOG(complex16, 20); |
566 | | - MOOG(complex32, 21); |
567 | | - MOOG(dblcplex, 22); |
568 | | - MOOG(2real, 23); |
569 | | - MOOG(2dblprec, 24); |
570 | | - MOOG(2integer, 25); |
571 | | - MOOG(2cplex, 26); |
572 | | - MOOG(2dblcplex, 27); |
573 | | - MOOG(real2, 28); |
574 | | - MOOG(logical1, 29); |
575 | | - MOOG(logical2, 30); |
576 | | - MOOG(logical4, 31); |
577 | | - MOOG(logical8, 32); |
| 543 | + MOOG(character, 3); |
| 544 | + MOOG(logical, 4); |
| 545 | + MOOG(integer, 5); |
| 546 | + MOOG(integer1, 6); |
| 547 | + MOOG(integer2, 7); |
| 548 | + MOOG(integer4, 8); |
| 549 | + MOOG(integer8, 9); |
| 550 | + MOOG(integer16, 10); |
| 551 | + MOOG(real, 11); |
| 552 | + MOOG(real4, 12); |
| 553 | + MOOG(real8, 13); |
| 554 | + MOOG(real16, 14); |
| 555 | + MOOG(dblprec, 15); |
| 556 | + MOOG(cplex, 16); |
| 557 | + MOOG(complex8, 17); |
| 558 | + MOOG(complex16, 18); |
| 559 | + MOOG(complex32, 19); |
| 560 | + MOOG(dblcplex, 20); |
| 561 | + MOOG(2real, 21); |
| 562 | + MOOG(2dblprec, 22); |
| 563 | + MOOG(2integer, 23); |
| 564 | + MOOG(2cplex, 24); |
| 565 | + MOOG(2dblcplex, 25); |
| 566 | + MOOG(real2, 26); |
| 567 | + MOOG(logical1, 27); |
| 568 | + MOOG(logical2, 28); |
| 569 | + MOOG(logical4, 29); |
| 570 | + MOOG(logical8, 30); |
578 | 571 |
|
579 | 572 | /* Now the C types */ |
580 | 573 |
|
581 | | - MOOG(wchar, 33); |
582 | | - MOOG(char, 34); |
583 | | - MOOG(unsigned_char, 35); |
584 | | - MOOG(signed_char, 36); |
585 | | - MOOG(short, 37); |
586 | | - MOOG(unsigned_short, 38); |
587 | | - MOOG(int, 39); |
588 | | - MOOG(unsigned, 40); |
589 | | - MOOG(long, 41); |
590 | | - MOOG(unsigned_long, 42); |
591 | | - MOOG(long_long_int, 43); |
592 | | - MOOG(unsigned_long_long, 44); |
593 | | - |
594 | | - MOOG(float, 45); |
595 | | - MOOG(double, 46); |
596 | | - MOOG(long_double, 47); |
597 | | - |
598 | | - MOOG(float_int, 48); |
599 | | - MOOG(double_int, 49); |
600 | | - MOOG(longdbl_int, 50); |
601 | | - MOOG(long_int, 51); |
602 | | - MOOG(2int, 52); |
603 | | - MOOG(short_int, 53); |
| 574 | + MOOG(wchar, 31); |
| 575 | + MOOG(char, 32); |
| 576 | + MOOG(unsigned_char, 33); |
| 577 | + MOOG(signed_char, 34); |
| 578 | + MOOG(short, 35); |
| 579 | + MOOG(unsigned_short, 36); |
| 580 | + MOOG(int, 37); |
| 581 | + MOOG(unsigned, 38); |
| 582 | + MOOG(long, 39); |
| 583 | + MOOG(unsigned_long, 40); |
| 584 | + MOOG(long_long_int, 41); |
| 585 | + MOOG(unsigned_long_long, 42); |
| 586 | + |
| 587 | + MOOG(float, 43); |
| 588 | + MOOG(double, 44); |
| 589 | + MOOG(long_double, 45); |
| 590 | + |
| 591 | + MOOG(float_int, 46); |
| 592 | + MOOG(double_int, 47); |
| 593 | + MOOG(longdbl_int, 48); |
| 594 | + MOOG(long_int, 49); |
| 595 | + MOOG(2int, 50); |
| 596 | + MOOG(short_int, 51); |
604 | 597 |
|
605 | 598 | /* C++ types */ |
606 | 599 |
|
607 | | - MOOG(cxx_bool, 54); |
608 | | - MOOG(cxx_cplex, 55); |
609 | | - MOOG(cxx_dblcplex, 56); |
610 | | - MOOG(cxx_ldblcplex, 57); |
| 600 | + MOOG(cxx_bool, 52); |
| 601 | + MOOG(cxx_cplex, 53); |
| 602 | + MOOG(cxx_dblcplex, 54); |
| 603 | + MOOG(cxx_ldblcplex, 55); |
611 | 604 |
|
612 | 605 | /* MPI 2.2 types */ |
613 | | - MOOG(int8_t, 58); |
614 | | - MOOG(uint8_t, 59); |
615 | | - MOOG(int16_t, 60); |
616 | | - MOOG(uint16_t, 61); |
617 | | - MOOG(int32_t, 62); |
618 | | - MOOG(uint32_t, 63); |
619 | | - MOOG(int64_t, 64); |
620 | | - MOOG(uint64_t, 65); |
621 | | - MOOG(aint, 66); |
622 | | - MOOG(offset, 67); |
623 | | - MOOG(c_bool, 68); |
624 | | - MOOG(c_float_complex, 69); |
625 | | - MOOG(c_double_complex, 70); |
626 | | - MOOG(c_long_double_complex, 71); |
| 606 | + MOOG(int8_t, 56); |
| 607 | + MOOG(uint8_t, 57); |
| 608 | + MOOG(int16_t, 58); |
| 609 | + MOOG(uint16_t, 59); |
| 610 | + MOOG(int32_t, 60); |
| 611 | + MOOG(uint32_t, 61); |
| 612 | + MOOG(int64_t, 62); |
| 613 | + MOOG(uint64_t, 63); |
| 614 | + MOOG(aint, 64); |
| 615 | + MOOG(offset, 65); |
| 616 | + MOOG(c_bool, 66); |
| 617 | + MOOG(c_float_complex, 67); |
| 618 | + MOOG(c_double_complex, 68); |
| 619 | + MOOG(c_long_double_complex, 69); |
627 | 620 |
|
628 | 621 | /* MPI 3.0 types */ |
629 | | - MOOG(count, 72); |
| 622 | + MOOG(count, 70); |
630 | 623 |
|
631 | 624 | /** |
632 | 625 | * Now make sure all non-contiguous types are marked as such. |
|
0 commit comments