cuda.bindings.nvml.device_get_pgpu_metadata_string#
- cuda.bindings.nvml.device_get_pgpu_metadata_string(intptr_t device) str#
Returns the properties of the physical GPU indicated by the device in an ascii-encoded string format.
The caller passes in a buffer via
pgpu_metadata, with the size of the buffer inbuffer_size. If the string is too large to fit in the supplied buffer, the function returns NVML_ERROR_INSUFFICIENT_SIZE with the size needed inbuffer_size.- Parameters:
device (intptr_t) – The identifier of the target device.
- Returns:
- Pointer to caller-supplied buffer into which
pgpu_metadatais written.
- Return type:
char
See also
nvmlDeviceGetPgpuMetadataString