cuda.bindings._v2.driver.device_get_default_mem_pool#

cuda.bindings._v2.driver.device_get_default_mem_pool(int dev) → intptr_t#

Returns the default mempool of a device.

The default mempool of a device contains device memory from that device.

Parameters:

dev (int) – Device for which to query the default memory pool.

Returns:

Returned default memory pool of the device.

Return type:

intptr_t

See also

cuDeviceGetDefaultMemPool