def METHOD_NAME(handle):
    c_name = ctypes.create_string_buffer(NVML_DEVICE_NAME_BUFFER_SIZE)
    fn = _get_nvml_function("nvmlDeviceGetName")
    ret = fn(handle, c_name, ctypes.c_uint(NVML_DEVICE_NAME_BUFFER_SIZE))
    _check_return(ret)
    return c_name.value