提交 bc7e4495 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Some fixes following comments.

上级 3c9d6446
...@@ -72,7 +72,7 @@ The following libraries and software are optional: ...@@ -72,7 +72,7 @@ The following libraries and software are optional:
Required for GPU code generation/execution on NVIDIA gpus Required for GPU code generation/execution on NVIDIA gpus
`libgpuarray`_ `libgpuarray`_
Required for GPU/CPU code generation on CUDA and OpenCL devices Required for GPU/CPU code generation on CUDA and OpenCL devices (see: :ref:`gpuarray`.)
:note: OpenCL support is still minimal for now. :note: OpenCL support is still minimal for now.
......
...@@ -438,6 +438,13 @@ While all types of devices are supported if using OpenCL, for the ...@@ -438,6 +438,13 @@ While all types of devices are supported if using OpenCL, for the
remainder of this section, whatever compute device you are using will remainder of this section, whatever compute device you are using will
be referred to as GPU. be referred to as GPU.
.. warning::
While it is fully our intention to support OpenCL, as of May 2014
this support is still in its infancy. A lot of very useful ops
still do not support it because they were ported from the old
backend with minimal change.
Testing Theano with GPU Testing Theano with GPU
----------------------- -----------------------
...@@ -557,7 +564,7 @@ of execution on GPUs, meaning that the work isn't completed yet, just ...@@ -557,7 +564,7 @@ of execution on GPUs, meaning that the work isn't completed yet, just
The object returned is a GpuArray from pygpu. It mostly acts as a The object returned is a GpuArray from pygpu. It mostly acts as a
numpy ndarray with some exceptions due to its data being on the GPU. numpy ndarray with some exceptions due to its data being on the GPU.
You can copy it to the host and convert it to a regular ndarray by You can copy it to the host and convert it to a regular ndarray by
using usual numpy casting. using usual numpy casting such as ``numpy.asarray()``.
Running the GPU at Full Speed Running the GPU at Full Speed
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论