Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aksetup_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ def has_flag(compiler, flagname):
def cpp_flag(compiler):
"""Return the -std=c++[11/14] compiler flag.

The c++14 is prefered over c++11 (when it is available).
The c++14 is preferred over c++11 (when it is available).
"""
if has_flag(compiler, '-std=gnu++14'):
return '-std=gnu++14'
Expand Down
2 changes: 1 addition & 1 deletion examples/from-wiki/mandelbrot_interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

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

# Click with the left button on the rigth side of the
# Click with the left button on the right side of the
# image to randomly change the colormap

# Click with right button on the right side of the image to set the default colormap
Expand Down
2 changes: 1 addition & 1 deletion pycuda/cuda/pycuda-helpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ extern "C++" {
return pycuda::complex<double>(__hiloint2double(v.y, v.x), __hiloint2double(v.w, v.z));
}

// FP_Surfaces with complex supprt
// FP_Surfaces with complex support

__device__ void fp_surf2DLayeredwrite(double var,surface<void, cudaSurfaceType2DLayered> surf, int i, int j, int layer, enum cudaSurfaceBoundaryMode mode)
{
Expand Down
4 changes: 2 additions & 2 deletions test/test_gpuarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def test_iaddition_scalar(self):

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

@mark_cuda_test
def test_substract_scalar(self):
"""Test the substraction of an array and a scalar."""
"""Test the subtraction of an array and a scalar."""

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