cuda.bindings.nvml.device_read_write_prm_v1#

cuda.bindings.nvml.device_read_write_prm_v1(intptr_t device, bytes in_data) tuple#

Read or write a GPU PRM register. The input is assumed to be in TLV format in network byte order.

Parameters:
  • device (intptr_t) – Identifer of target GPU device.

  • in_data (bytes) – The input data for the PRM register.

Returns:

  • unsigned int: Status of the PRM operation.

  • bytes: Output data in TLV format.

Return type:

A 2-tuple containing

See also

nvmlDeviceReadWritePRM_v1