cupy.cuda.PinnedMemory

class cupy.cuda.PinnedMemory

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