Skip to content

Commit adde9be

Browse files
authored
Fix various typos (#385)
Found via `codespell -q 3 -L aadd,aci,alo,fo,inout,intot,mone,nam,nd,ois,re-use,re-used,re-using,rin,shft,twon`
1 parent 8167227 commit adde9be

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

mpi/api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static MPI_Comm problem_comm(const problem *p) {
5151
/* used to synchronize cost measurements (timing or estimation)
5252
across all processes for an MPI problem, which is critical to
5353
ensure that all processes decide to use the same MPI plans
54-
(whereas serial plans need not be syncronized). */
54+
(whereas serial plans need not be synchronized). */
5555
static double cost_hook(const problem *p, double t, cost_kind k)
5656
{
5757
MPI_Comm comm = problem_comm(p);

mpi/f03api.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# include 'fftw3-mpi.f03'
1010
# and then call the C FFTW MPI functions directly, with type checking.
1111
#
12-
# One caveat: because there is no standard way to conver MPI_Comm objects
12+
# One caveat: because there is no standard way to convert MPI_Comm objects
1313
# from Fortran (= integer) to C (= opaque type), the Fortran interface
1414
# technically calls C wrapper functions (also auto-generated) which
1515
# call MPI_Comm_f2c to convert the communicators as needed.

mpi/mpi-bench.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ void main_init(int *argc, char ***argv)
789789

790790
/* init_threads must be called before any other FFTW function,
791791
including mpi_init, because it has to register the threads hooks
792-
before the planner is initalized */
792+
before the planner is initialized */
793793
#ifdef HAVE_SMP
794794
if (threads_ok) { BENCH_ASSERT(FFTW(init_threads)()); }
795795
#endif

rdft/vrank3-transpose.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ static const transpose_adt adt_cut =
504504
*/
505505

506506
/*
507-
* "a" is a 1D array of length ny*nx*N which constains the nx x ny
507+
* "a" is a 1D array of length ny*nx*N which contains the nx x ny
508508
* matrix of N-tuples to be transposed. "a" is stored in row-major
509509
* order (last index varies fastest). move is a 1D array of length
510510
* move_size used to store information to speed up the process. The

simd-support/simd-avx-128-fma.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ static inline V VCONJ(V x)
172172
173173
V pmpm = VLIT(-0.0, 0.0);
174174
175-
but historically some compilers have ignored the distiction
175+
but historically some compilers have ignored the distinction
176176
between +0 and -0. It looks like 'gcc-8 -fast-math' treats -0
177177
as 0 too.
178178
*/

simd-support/simd-avx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ static inline void STN2(R *x, V v0, V v1, INT ovs)
187187
static inline __m128d VMOVAPD_LD(const R *x)
188188
{
189189
/* gcc-4.6 miscompiles the combination _mm256_castpd128_pd256(VMOVAPD_LD(x))
190-
into a 256-bit vmovapd, which requires 32-byte aligment instead of
190+
into a 256-bit vmovapd, which requires 32-byte alignment instead of
191191
16-byte alignment.
192192
193193
Force the use of vmovapd via asm until compilers stabilize.
@@ -258,7 +258,7 @@ static inline V VCONJ(V x)
258258
259259
V pmpm = VLIT(-0.0, 0.0);
260260
261-
but historically some compilers have ignored the distiction
261+
but historically some compilers have ignored the distinction
262262
between +0 and -0. It looks like 'gcc-8 -fast-math' treats -0
263263
as 0 too.
264264
*/

simd-support/simd-avx2-128.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ static inline V VCONJ(V x)
186186
187187
V pmpm = VLIT(-0.0, 0.0);
188188
189-
but historically some compilers have ignored the distiction
189+
but historically some compilers have ignored the distinction
190190
between +0 and -0. It looks like 'gcc-8 -fast-math' treats -0
191191
as 0 too.
192192
*/

simd-support/simd-avx2.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ static inline void STN2(R *x, V v0, V v1, INT ovs)
191191
static inline __m128d VMOVAPD_LD(const R *x)
192192
{
193193
/* gcc-4.6 miscompiles the combination _mm256_castpd128_pd256(VMOVAPD_LD(x))
194-
into a 256-bit vmovapd, which requires 32-byte aligment instead of
194+
into a 256-bit vmovapd, which requires 32-byte alignment instead of
195195
16-byte alignment.
196196
197197
Force the use of vmovapd via asm until compilers stabilize.
@@ -260,7 +260,7 @@ static inline V VCONJ(V x)
260260
261261
V pmpm = VLIT(-0.0, 0.0);
262262
263-
but historically some compilers have ignored the distiction
263+
but historically some compilers have ignored the distinction
264264
between +0 and -0. It looks like 'gcc-8 -fast-math' treats -0
265265
as 0 too.
266266
*/

simd-support/simd-common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
/* detection of alignment. This is complicated because a machine may
2222
support multiple SIMD extensions (e.g. SSE2 and AVX) but only one
23-
set of alignment contraints. So this alignment stuff cannot be
23+
set of alignment constraints. So this alignment stuff cannot be
2424
defined in the SIMD header files. Rather than defining a separate
2525
set of "machine" header files, we just do this ugly ifdef here. */
2626
#if defined(HAVE_SSE2) || defined(HAVE_AVX) || defined(HAVE_AVX2) || defined(HAVE_AVX_128_FMA) || defined(HAVE_AVX512)

simd-support/simd-maskedsve.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ typedef DS(svfloat64_t, svfloat32_t) V;
7171

7272
/* The goal is to limit to the required width by using masking.
7373
* However, some SVE instructions are limited to two-addresses
74-
* rather than three adresses when masked.
74+
* rather than three addresses when masked.
7575
* (i.e. they do X op= Y, not X = Z op X)
7676
* Loads will put zero in masked-out value.
7777
* For performance reason, we want to use non-masked for the instructions

0 commit comments

Comments
 (0)