Skip to content

Commit 589cad5

Browse files
authored
Merge pull request #295 from timgates42/bugfix_typos
docs: fix a few simple typos
2 parents 0bb240b + e7b17eb commit 589cad5

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

aksetup_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ def has_flag(compiler, flagname):
926926
def cpp_flag(compiler):
927927
"""Return the -std=c++[11/14] compiler flag.
928928
929-
The c++14 is prefered over c++11 (when it is available).
929+
The c++14 is preferred over c++11 (when it is available).
930930
"""
931931
if has_flag(compiler, '-std=gnu++14'):
932932
return '-std=gnu++14'

examples/from-wiki/mandelbrot_interactive.py

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

1212
# Point and click with the right buttom to magnify by a factor of 10
1313

14-
# Click with the left button on the rigth side of the
14+
# Click with the left button on the right side of the
1515
# image to randomly change the colormap
1616

1717
# Click with right button on the right side of the image to set the default colormap

pycuda/cuda/pycuda-helpers.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ extern "C++" {
102102
return pycuda::complex<double>(__hiloint2double(v.y, v.x), __hiloint2double(v.w, v.z));
103103
}
104104

105-
// FP_Surfaces with complex supprt
105+
// FP_Surfaces with complex support
106106

107107
__device__ void fp_surf2DLayeredwrite(double var,surface<void, cudaSurfaceType2DLayered> surf, int i, int j, int layer, enum cudaSurfaceBoundaryMode mode)
108108
{

test/test_gpuarray.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def test_iaddition_scalar(self):
154154

155155
@mark_cuda_test
156156
def test_substract_array(self):
157-
"""Test the substraction of two arrays."""
157+
"""Test the subtraction of two arrays."""
158158
# test data
159159
a = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]).astype(np.float32)
160160
b = np.array([10, 20, 30, 40, 50, 60, 70, 80, 90, 100]).astype(np.float32)
@@ -170,7 +170,7 @@ def test_substract_array(self):
170170

171171
@mark_cuda_test
172172
def test_substract_scalar(self):
173-
"""Test the substraction of an array and a scalar."""
173+
"""Test the subtraction of an array and a scalar."""
174174

175175
# test data
176176
a = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]).astype(np.float32)

0 commit comments

Comments
 (0)