Skip to content

Commit 6e99e02

Browse files
authored
Merge pull request #12539 from hppritcha/coll-framework-bigcount-intpromo
Big Count: first pass for coll framework bc
2 parents cebad71 + 4d7c65d commit 6e99e02

File tree

154 files changed

+1108
-1105
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+1108
-1105
lines changed

ompi/mca/coll/accelerator/coll_accelerator.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,33 +39,33 @@ mca_coll_base_module_t
3939
int *priority);
4040

4141
int
42-
mca_coll_accelerator_allreduce(const void *sbuf, void *rbuf, int count,
42+
mca_coll_accelerator_allreduce(const void *sbuf, void *rbuf, size_t count,
4343
struct ompi_datatype_t *dtype,
4444
struct ompi_op_t *op,
4545
struct ompi_communicator_t *comm,
4646
mca_coll_base_module_t *module);
4747

48-
int mca_coll_accelerator_reduce(const void *sbuf, void *rbuf, int count,
48+
int mca_coll_accelerator_reduce(const void *sbuf, void *rbuf, size_t count,
4949
struct ompi_datatype_t *dtype,
5050
struct ompi_op_t *op,
5151
int root,
5252
struct ompi_communicator_t *comm,
5353
mca_coll_base_module_t *module);
5454

55-
int mca_coll_accelerator_exscan(const void *sbuf, void *rbuf, int count,
55+
int mca_coll_accelerator_exscan(const void *sbuf, void *rbuf, size_t count,
5656
struct ompi_datatype_t *dtype,
5757
struct ompi_op_t *op,
5858
struct ompi_communicator_t *comm,
5959
mca_coll_base_module_t *module);
6060

61-
int mca_coll_accelerator_scan(const void *sbuf, void *rbuf, int count,
61+
int mca_coll_accelerator_scan(const void *sbuf, void *rbuf, size_t count,
6262
struct ompi_datatype_t *dtype,
6363
struct ompi_op_t *op,
6464
struct ompi_communicator_t *comm,
6565
mca_coll_base_module_t *module);
6666

6767
int
68-
mca_coll_accelerator_reduce_scatter_block(const void *sbuf, void *rbuf, int rcount,
68+
mca_coll_accelerator_reduce_scatter_block(const void *sbuf, void *rbuf, size_t rcount,
6969
struct ompi_datatype_t *dtype,
7070
struct ompi_op_t *op,
7171
struct ompi_communicator_t *comm,
@@ -121,7 +121,7 @@ OBJ_CLASS_DECLARATION(mca_coll_accelerator_module_t);
121121
/* Component */
122122

123123
typedef struct mca_coll_accelerator_component_t {
124-
mca_coll_base_component_2_4_0_t super;
124+
mca_coll_base_component_3_0_0_t super;
125125

126126
int priority; /* Priority of this component */
127127
int disable_accelerator_coll; /* Force disable of the accelerator collective component */

ompi/mca/coll/accelerator/coll_accelerator_allreduce.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* Returns: - MPI_SUCCESS or error code
2929
*/
3030
int
31-
mca_coll_accelerator_allreduce(const void *sbuf, void *rbuf, int count,
31+
mca_coll_accelerator_allreduce(const void *sbuf, void *rbuf, size_t count,
3232
struct ompi_datatype_t *dtype,
3333
struct ompi_op_t *op,
3434
struct ompi_communicator_t *comm,

ompi/mca/coll/accelerator/coll_accelerator_component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ mca_coll_accelerator_component_t mca_coll_accelerator_component = {
4444
* about the component itself */
4545

4646
.collm_version = {
47-
MCA_COLL_BASE_VERSION_2_4_0,
47+
MCA_COLL_BASE_VERSION_3_0_0,
4848

4949
/* Component name and version */
5050
.mca_component_name = "accelerator",

ompi/mca/coll/accelerator/coll_accelerator_exscan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "ompi/op/op.h"
2121
#include "opal/datatype/opal_convertor.h"
2222

23-
int mca_coll_accelerator_exscan(const void *sbuf, void *rbuf, int count,
23+
int mca_coll_accelerator_exscan(const void *sbuf, void *rbuf, size_t count,
2424
struct ompi_datatype_t *dtype,
2525
struct ompi_op_t *op,
2626
struct ompi_communicator_t *comm,

ompi/mca/coll/accelerator/coll_accelerator_reduce.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* Returns: - MPI_SUCCESS or error code
2929
*/
3030
int
31-
mca_coll_accelerator_reduce(const void *sbuf, void *rbuf, int count,
31+
mca_coll_accelerator_reduce(const void *sbuf, void *rbuf, size_t count,
3232
struct ompi_datatype_t *dtype,
3333
struct ompi_op_t *op,
3434
int root, struct ompi_communicator_t *comm,

ompi/mca/coll/accelerator/coll_accelerator_reduce_scatter_block.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* up at some point)
3333
*/
3434
int
35-
mca_coll_accelerator_reduce_scatter_block(const void *sbuf, void *rbuf, int rcount,
35+
mca_coll_accelerator_reduce_scatter_block(const void *sbuf, void *rbuf, size_t rcount,
3636
struct ompi_datatype_t *dtype,
3737
struct ompi_op_t *op,
3838
struct ompi_communicator_t *comm,

ompi/mca/coll/accelerator/coll_accelerator_scan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* Accepts: - same arguments as MPI_Scan()
2828
* Returns: - MPI_SUCCESS or error code
2929
*/
30-
int mca_coll_accelerator_scan(const void *sbuf, void *rbuf, int count,
30+
int mca_coll_accelerator_scan(const void *sbuf, void *rbuf, size_t count,
3131
struct ompi_datatype_t *dtype,
3232
struct ompi_op_t *op,
3333
struct ompi_communicator_t *comm,

ompi/mca/coll/adapt/coll_adapt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ typedef enum {
4444
*/
4545
typedef struct mca_coll_adapt_component_t {
4646
/* Base coll component */
47-
mca_coll_base_component_2_4_0_t super;
47+
mca_coll_base_component_3_0_0_t super;
4848

4949
/* MCA parameter: Priority of this component */
5050
int adapt_priority;

ompi/mca/coll/adapt/coll_adapt_bcast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "coll_adapt.h"
1313
#include "coll_adapt_algorithms.h"
1414

15-
int ompi_coll_adapt_bcast(void *buff, int count, struct ompi_datatype_t *datatype, int root,
15+
int ompi_coll_adapt_bcast(void *buff, size_t count, struct ompi_datatype_t *datatype, int root,
1616
struct ompi_communicator_t *comm, mca_coll_base_module_t * module)
1717
{
1818
ompi_request_t *request = NULL;

ompi/mca/coll/adapt/coll_adapt_component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ mca_coll_adapt_component_t mca_coll_adapt_component = {
4141
/* First, the mca_component_t struct containing meta
4242
information about the component itself */
4343
.collm_version = {
44-
MCA_COLL_BASE_VERSION_2_4_0,
44+
MCA_COLL_BASE_VERSION_3_0_0,
4545

4646
/* Component name and version */
4747
.mca_component_name = "adapt",

0 commit comments

Comments
 (0)