cuda.bindings.nvml.GpuUptime_v1#
- class cuda.bindings.nvml.GpuUptime_v1#
Empty-initialize an instance of nvmlGpuUptime_v1_t.
See also
nvmlGpuUptime_v1_t
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an GpuUptime_v1 instance with the memory from the given buffer.
from_data(data)Create an GpuUptime_v1 instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, bool readonly=False)Create an GpuUptime_v1 instance wrapping the given pointer.
Attributes
ptrGet the pointer address to the data as Python
int.uptime[out] Number of seconds the GPU has been up since it was initialized by the driver