XPUPinnedPlace
- class paddle. XPUPinnedPlace
-
XPUPinnedPlace 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 XPU. For more information on XPU data transfer and pinned memory, please refer to official document .
Examples
>>> >>> import paddle >>> place = paddle.XPUPinnedPlace()