cuda.bindings.nvml.device_set_memory_limits_v1#
- cuda.bindings.nvml.device_set_memory_limits_v1(intptr_t device, intptr_t limits)#
Set the memory limits of the device for the cgroup partition.
- Parameters:
device (intptr_t) – The identifier of the target device.
limits (intptr_t) – A pointer to
nvmlSetMemoryLimits_v1_twhere the limits can be set.
See also
nvmlDeviceSetMemoryLimits_v1