cuda.core.experimental.DeviceMemoryResourceOptions#

class cuda.core.experimental.DeviceMemoryResourceOptions(
ipc_enabled: cython.bint = False,
max_size: cython.int = 0,
)#

Customizable DeviceMemoryResource options.

ipc_enabled#

Specifies whether to create an IPC-enabled memory pool. When set to True, the memory pool and its allocations can be shared with other processes. (Default to False)

Type:

bool, optional

max_size#

Maximum pool size. When set to 0, defaults to a system-dependent value. (Default to 0)

Type:

int, optional