Skip to content

Commit a8da6fc

Browse files
committed
fix ptr error
1 parent c6ec25a commit a8da6fc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/api/paddle/cuda/get_device_capability_cn.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
get_device_capability
44
---------------------
55

6-
.. py:function:: paddle.device.get_device_capability(device=None)
6+
.. py:function:: paddle.cuda.get_device_capability(device=None)
77
88
获取设备计算能力。
99

docs/api/paddle/cuda/get_stream_from_external_cn.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ get_stream_from_external
66
.. py:function:: paddle.cuda.get_stream_from_external(data_ptr, device=None)
77
88
从外部创建的 CUDA 流创建 Paddle 流对象。
9-
本函数与 :ref:`cn_api_paddle_device_get_stream_from_external` 功能一致
109

1110
参数
1211
::::::::::::

0 commit comments

Comments
 (0)