cuda.bindings.nvml.device_set_hostname_v1#

cuda.bindings.nvml.device_set_hostname_v1(intptr_t device, str hostname)#

Set the hostname for the device.

Parameters:
  • device (Device) – The identifier of the target device.

  • hostname (str) – The new hostname to set.