Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
rebecca-palmer committed Jan 13, 2019
1 parent bf1e694 commit 1b3ce42
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions pygpu/gpuarray.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ def cuda_wrap_ctx(size_t ptr, bint own):
Wrap an existing CUDA driver context (CUcontext) into a GpuContext
class.
If `own` is true, libgpuarray is now reponsible for the context and
If `own` is true, libgpuarray is now responsible for the context and
it will be destroyed once there are no references to it.
Otherwise, the context will not be destroyed and it is the calling
code's reponsability.
code's responsibility.
"""
cdef gpucontext *(*cuda_make_ctx)(void *, int)
cdef int flags
Expand Down Expand Up @@ -876,7 +876,7 @@ def from_gpudata(size_t data, offset, dtype, shape, GpuContext context=None,
Notes
-----
This function might be deprecated in a later relase since the only
This function might be deprecated in a later release since the only
way to create gpudata pointers is through libgpuarray functions
that aren't exposed at the python level. It can be used with the
value of the `gpudata` attribute of an existing GpuArray.
Expand Down Expand Up @@ -940,7 +940,7 @@ def array(proto, dtype=None, copy=True, order=None, unsigned int ndmin=0,
match its properties and `copy` is False.
The properties of the resulting array depend on the input data
except if overriden by other parameters.
except if overridden by other parameters.
This function is similar to :meth:`numpy.array` except that it returns
GpuArrays.
Expand Down Expand Up @@ -1561,7 +1561,7 @@ cdef class GpuArray:
To create instances of this class use
:meth:`~pygpu.gpuarray.zeros`, :meth:`~pygpu.gpuarray.empty` or
:meth:`~pygpu.gpuarray.array`. It cannot be instanciated
:meth:`~pygpu.gpuarray.array`. It cannot be instantiated
directly.
You can also subclass this class and make the module create your
Expand Down Expand Up @@ -2278,7 +2278,7 @@ cdef class GpuKernel:
The `have_*` parameter are there to tell libgpuarray that we need
the particular type or feature to work for this kernel. If the
request can't be satified a :class:`.UnsupportedException` will be
request can't be satisfied a :class:`.UnsupportedException` will be
raised in the constructor.
Once you have the kernel object you can simply call it like so::
Expand Down Expand Up @@ -2335,7 +2335,7 @@ cdef class GpuKernel:
If you do not set the `have_` flags properly, you will either
get a device-specific error (the good case) or silent
completly bogus data (the bad case).
completely bogus data (the bad case).
"""
Expand Down
2 changes: 1 addition & 1 deletion src/gpuarray_blas_cuda_cublas.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ static const char *estr(cublasStatus_t err) {
case CUBLAS_STATUS_NOT_INITIALIZED:
return "(cublas) Library not initialized.";
case CUBLAS_STATUS_ALLOC_FAILED:
return "(cublas) GPU ressource allocation failed.";
return "(cublas) GPU resource allocation failed.";
case CUBLAS_STATUS_INVALID_VALUE:
return "(cublas) Invalid value.";
case CUBLAS_STATUS_ARCH_MISMATCH:
Expand Down
2 changes: 1 addition & 1 deletion src/gpuarray_blas_opencl_clblas.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ static const char *estr(clblasStatus err) {
case clblasInsufficientMemVecY:
return "memory object for vector Y is too small";
default:
return "Unknow error";
return "Unknown error";
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/gpuarray_blas_opencl_clblast.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static const char *estr(CLBlastStatusCode err) {
case CLBlastUnexpectedError:
return "Unexpected error";
default:
return "Unknow error";
return "Unknown error";
}
}

Expand Down

0 comments on commit 1b3ce42

Please sign in to comment.