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. :param device: Identifer of target GPU device. :type device: intptr_t :param in_data: The input data for the PRM register. :type in_data: bytes :returns: - unsigned int: Status of the PRM operation. - bytes: Output data in TLV format. :rtype: A 2-tuple containing .. seealso:: `nvmlDeviceReadWritePRM_v1`