Skip to content

Commit a6d4cf7

Browse files
authored
Merge pull request #8386 from WiltonLoch/master
small typo corrections
2 parents 1faba65 + 91a549f commit a6d4cf7

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

ompi/mca/coll/base/base.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ int mca_coll_base_find_available(bool enable_progress_threads,
7777
* @return OMPI_ERROR Upon failure.
7878
*
7979
* Note that the types of the parameters have "struct" in them
80-
* (e.g., ompi_communicator_t" vs. a plain "ompi_communicator_t") to
80+
* (e.g., "struct ompi_communicator_t" vs. a plain "ompi_communicator_t") to
8181
* avoid an include file loop. All similar types (e.g., "struct
8282
* ompi_communicator_t *", "ompi_communicator_t *", and "MPI_Comm")
8383
* are all typedef'ed to be the same, so the fact that we use struct
@@ -93,7 +93,7 @@ int mca_coll_base_find_available(bool enable_progress_threads,
9393
* invoking this function. Specifically: this function is called in
9494
* the depths of communicator creation, but during the execution of
9595
* this function, new communicators may be created, and therefore
96-
* communicator creation functions may be re-entered (albiet with
96+
* communicator creation functions may be re-entered (albeit with
9797
* different arguments).
9898
*/
9999
int mca_coll_base_comm_select(struct ompi_communicator_t *comm);

ompi/mca/coll/base/coll_base_functions.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ do { \
398398
} while (0)
399399

400400
/**
401-
* This macro give a generic way to compute the best count of
401+
* This macro gives a generic way to compute the best count of
402402
* the segment (i.e. the number of complete datatypes that
403403
* can fit in the specified SEGSIZE). Beware, when this macro
404404
* is called, the SEGCOUNT should be initialized to the count as
@@ -415,7 +415,7 @@ do { \
415415
} \
416416

417417
/**
418-
* This macro gives a generic wait to compute the well distributed block counts
418+
* This macro gives a generic way to compute the well distributed block counts
419419
* when the count and number of blocks are fixed.
420420
* Macro returns "early-block" count, "late-block" count, and "split-index"
421421
* which is the block at which we switch from "early-block" count to
@@ -518,7 +518,7 @@ static inline void ompi_coll_base_free_reqs(ompi_request_t **reqs, int count)
518518

519519
/**
520520
* Return the array of requests on the data. If the array was not initialized
521-
* or if it's size was too small, allocate it to fit the requested size.
521+
* or if its size was too small, allocate it to fit the requested size.
522522
*/
523523
ompi_request_t** ompi_coll_base_comm_get_reqs(mca_coll_base_comm_t* data, int nreqs);
524524

ompi/mca/coll/coll.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@
3939
*
4040
* Component selection is done per commuicator, at Communicator
4141
* construction time. mca_coll_base_comm_select() is used to
42-
* create the list of components available to the compoenent
42+
* create the list of components available to the componenent
4343
* collm_comm_query function, instantiating a module for each
44-
* component that i usable, and sets the module collective function pointers.
44+
* component that is usable, and sets the module collective function pointers.
4545
* mca_coll_base_comm_select() then loops through the list of available
4646
* components (via the instantiated module), and uses the
4747
* module's coll_module_enable() function to enable the modules, and
48-
* if successful, sets the communicator collective functions to the
48+
* if successful, sets the communicator collective functions to
4949
* those supplied by the given module, keeping track of which module it
5050
* is associated with.
5151
*

0 commit comments

Comments
 (0)