cupy.cuda.PinnedMemory#

class cupy.cuda.PinnedMemory(size, flags=0)[source]#

Pinned memory allocation on host.

This class provides a RAII interface of the pinned memory allocation.

Parameters:

size (int) – Size of the memory allocation in bytes.

Methods

__eq__(value, /)#

Return self==value.

__ne__(value, /)#

Return self!=value.

__lt__(value, /)#

Return self<value.

__le__(value, /)#

Return self<=value.

__gt__(value, /)#

Return self>value.

__ge__(value, /)#

Return self>=value.