CUDAPinnedPlace¶
- class paddle. CUDAPinnedPlace
-
CUDAPinnedPlace is a descriptor of a device. It refers to the page locked memory allocated by the CUDA function cudaHostAlloc() in the host memory. The host operating system will not paging and exchanging the memory. It can be accessed through direct memory access technology to speed up the copy of data between the host and GPU. For more information on CUDA data transfer and pinned memory, please refer to official document .
Examples
>>> >>> import paddle >>> place = paddle.CUDAPinnedPlace()