Skip to content

Commit 5ef1812

Browse files
committed
Fix Typos
1 parent 21dd51f commit 5ef1812

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recipes_source/recipes/tuning_guide.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def gelu(x):
213213

214214
###############################################################################
215215
# Typically, the following environment variables are used to set for CPU affinity with GNU OpenMP implementation. ``OMP_PROC_BIND`` specifies whether threads may be moved between processors. Setting it to CLOSE keeps OpenMP threads close to the primary thread in contiguous place partitions. ``OMP_SCHEDULE`` determines how OpenMP threads are scheduled. ``GOMP_CPU_AFFINITY`` binds threads to specific CPUs.
216-
# An important tuning parameter is core pinning which prevent the threads of migrating between multiple CPUs, enchancing data location and minimizing intra-core communication.
216+
# An important tuning parameter is core pinning which prevent the threads of migrating between multiple CPUs, enhancing data location and minimizing inter core communication.
217217
#
218218
# .. code-block:: sh
219219
#
@@ -344,7 +344,7 @@ def gelu(x):
344344
# Use CUDA Graphs
345345
# ~~~~~~~~~~~~~~~~~~~~~~~
346346
# At the time of using a GPU, work first must be launched from the CPU and
347-
# on some cases the context switch between CPU and GPU can lead to bad resourse
347+
# on some cases the context switch between CPU and GPU can lead to bad resource
348348
# utilization. CUDA graphs are a way to keep computation within the GPU without
349349
# paying the extra cost of kernel launches and host synchronization.
350350

0 commit comments

Comments
 (0)