提交 24175278 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Minor typo fixes

上级 2fe7de5f
......@@ -35,8 +35,8 @@ Compiling with PyCUDA
You can use PyCUDA to compile some CUDA function that work directly on
CudaNdarray. There is an example in the function `test_pycuda_theano`
in the file `theano/misc/tests/test_pycuda_theano_simple.py`. Also,
there is an example that show how to make an op that call a pycuda
function :ref:`here <pyCUDA_theano>`
there is an example that shows how to make an op that calls a pycuda
function :ref:`here <pyCUDA_theano>`.
Theano op using PyCUDA function
-------------------------------
......
......@@ -16,7 +16,7 @@ import theano.misc.pycuda_init
if not theano.misc.pycuda_init.pycuda_available:
from nose.plugins.skip import SkipTest
raise SkipTest("Pycuda not installed."
" We skip test of theano op with pycuda code.")
" We skip tests of Theano Ops with pycuda code.")
if cuda_ndarray.cuda_available == False:
from nose.plugins.skip import SkipTest
......@@ -28,7 +28,7 @@ import pycuda.gpuarray
def test_pycuda_only():
"""Run pycuda only example to test that pycuda work."""
"""Run pycuda only example to test that pycuda works."""
from pycuda.compiler import SourceModule
mod = SourceModule("""
__global__ void multiply_them(float *dest, float *a, float *b)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论