cuda.bindings.nvml.GridLicensableFeature#
- class cuda.bindings.nvml.GridLicensableFeature(size=1)#
Empty-initialize an array of nvmlGridLicensableFeature_t.
The resulting object is of length size and of dtype grid_licensable_feature_dtype. If default-constructed, the instance represents a single struct.
- Parameters:
size (int) – number of structs, default=1.
See also
nvmlGridLicensableFeature_t
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an GridLicensableFeature instance with the memory from the given buffer.
from_data(data)Create an GridLicensableFeature instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, size_t size=1, ...)Create an GridLicensableFeature instance wrapping the given pointer.
Attributes
feature_codeUnion[~_numpy.int32, int]:
feature_enabledUnion[~_numpy.uint32, int]:
feature_stateUnion[~_numpy.uint32, int]:
license_expirygrid_license_expiry_dtype:
license_info(array of length 128).
product_name(array of length 128).
ptrGet the pointer address to the data as Python
int.