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

Add numpy "casting" example to the old backend section.

上级 bc7e4495
...@@ -148,7 +148,7 @@ Here we've shaved off about 50% of the run-time by simply not copying the ...@@ -148,7 +148,7 @@ Here we've shaved off about 50% of the run-time by simply not copying the
resulting array back to the host. resulting array back to the host.
The object returned by each function call is now not a NumPy array but a The object returned by each function call is now not a NumPy array but a
"CudaNdarray" which can be converted to a NumPy ndarray by the normal "CudaNdarray" which can be converted to a NumPy ndarray by the normal
NumPy casting mechanism. NumPy casting mechanism using something like ``numpy.asarray()``.
Running the GPU at Full Speed Running the GPU at Full Speed
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论