Skip to content

Commit 070e6e4

Browse files
Zhenye-Nabwbarrett
authored andcommitted
Fix spelling and grammar errors throughout codebase
Corrects spelling mistakes in comments, error messages, and documentation. No functional changes - only text corrections. Signed-off-by: Nathan Na <nzhenye@amazon.com>
1 parent eece99d commit 070e6e4

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ GitHub issues or (better yet) patches are appreciated.
4949
To build the plugin, you need to have
5050
[Libfabric](http://github.com/ofiwg/libfabric/) and
5151
[HWLOC](https://www.open-mpi.org/projects/hwloc/) installed prior to
52-
building the plugin., If you want to run the included multi-node
53-
tests, you also need an MPI Implementation installed. Each release of the
52+
building the plugin. If you want to run the included multi-node
53+
tests, you also need an MPI Implementation installed. Each release of the
5454
plugin has a list of dependency versions in the top-level README.md
5555
file.
5656

configure.ac

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ CHECK_ENABLE_SANITIZER()
7272

7373

7474
# Checks for header files
75-
AC_CHECK_HEADER([limits.h], [], [AC_MSG_ERROR([NCCL OFI Plugin rquires limits.h])])
76-
AC_CHECK_HEADER([stdlib.h], [], [AC_MSG_ERROR([NCCL OFI Plugin rquires stdlib.h])])
77-
AC_CHECK_HEADER([string.h], [], [AC_MSG_ERROR([NCCL OFI Plugin rquires string.h])])
78-
AC_CHECK_HEADER([unistd.h], [], [AC_MSG_ERROR([NCCL OFI Plugin rquires unistd.h])])
75+
AC_CHECK_HEADER([limits.h], [], [AC_MSG_ERROR([NCCL OFI Plugin requires limits.h])])
76+
AC_CHECK_HEADER([stdlib.h], [], [AC_MSG_ERROR([NCCL OFI Plugin requires stdlib.h])])
77+
AC_CHECK_HEADER([string.h], [], [AC_MSG_ERROR([NCCL OFI Plugin requires string.h])])
78+
AC_CHECK_HEADER([unistd.h], [], [AC_MSG_ERROR([NCCL OFI Plugin requires unistd.h])])
7979

8080
AC_CHECK_HEADERS([linux/limits.h])
8181

include/nccl_ofi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* An endpoint address buffer of 56 bytes *should* be large enough to hold
2727
* all libfabric providers. In case the requirement changes, NCCL v2.12
2828
* provides enough room to increase this size but we would need to maintain
29-
* backwards compatiblity with all NCCL versions.
29+
* backwards compatibility with all NCCL versions.
3030
*
3131
* We also store tags and communicator stage information in remaining
3232
* part of the handle.

include/nccl_ofi_memcheck.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static inline void nccl_net_ofi_mem_create_mempool(void *handle, void *data, siz
134134
static inline void nccl_net_ofi_mem_destroy_mempool(void *handle);
135135

136136
/**
137-
* Indicate that an allocation has occured from a memory allocator.
137+
* Indicate that an allocation has occurred from a memory allocator.
138138
* The memory area returned with have undefined semantics after this
139139
* call.
140140
*
@@ -149,7 +149,7 @@ static inline void nccl_net_ofi_mem_destroy_mempool(void *handle);
149149
static inline void nccl_net_ofi_mem_mempool_alloc(void *handle, void *data, size_t size);
150150

151151
/**
152-
* Indicate that a deallocate has occured to a memory allocator. The
152+
* Indicate that a deallocate has occurred to a memory allocator. The
153153
* memory area will have noaccess semantics after this call. If
154154
* book-keeping structures need to be stored in this area, the
155155
* specific area should be first marked as undefined via

src/nccl_ofi_net.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ nccl_net_ofi_device_t::nccl_net_ofi_device_t(nccl_net_ofi_plugin_t *plugin_arg,
736736

737737
PlatformManager::get_global().get_platform().device_set_guid(info, this);
738738

739-
/* Intiaialize mutex for endpoint access */
739+
/* Initialize mutex for endpoint access */
740740
ret = nccl_net_ofi_mutex_init(&this->device_lock, nullptr);
741741
if (ret != 0) {
742742
NCCL_OFI_WARN("Unable to initialize device mutex");
@@ -1096,7 +1096,7 @@ nccl_net_ofi_ep_t::nccl_net_ofi_ep_t(nccl_net_ofi_domain_t *domain_arg)
10961096
{
10971097
assert(domain_arg != nullptr);
10981098

1099-
/* Intiaialize mutex for endpoint access */
1099+
/* Initialize mutex for endpoint access */
11001100
int ret = nccl_net_ofi_mutex_init(&this->ep_lock, nullptr);
11011101
if (ret != 0) {
11021102
NCCL_OFI_WARN("Unable to initialize endpoint mutex");

0 commit comments

Comments
 (0)