pynvml
¶
Attributes¶
fastvideo.third_party.pynvml.NVML_VALUE_NOT_AVAILABLE_uint
module-attribute
¶
Field Identifiers.
All Identifiers pertain to a device. Each ID is only used once and is guaranteed never to change.
Classes¶
fastvideo.third_party.pynvml.NVMLError
¶
Functions¶
fastvideo.third_party.pynvml.convertStrBytes
¶
In python 3, strings are unicode instead of bytes, and need to be converted for ctypes Args from caller: (1, 'string', <main.c_nvmlDevice_t at 0xFFFFFFFF>) Args passed to function: (1, b'string', <main.c_nvmlDevice_t at 0xFFFFFFFF)>
Returned from function: b'returned string' Returned to caller: 'returned string'