cupy.get_default_pinned_memory_pool

cupy.get_default_pinned_memory_pool()[source]

Returns CuPy default memory pool for pinned memory.

Returns:The memory pool object.
Return type:cupy.cuda.PinnedMemoryPool

Note

If you want to disable memory pool, please use the following code.

>>> cupy.cuda.set_pinned_memory_allocator(None)