def nvmlEventSetCreate():
    r"""
    /**
     * Create an empty set of events.
     * Event set should be freed by \ref nvmlEventSetFree
     *
     * For Fermi &tm; or newer fully supported devices.
     * @param set                                  Reference in which to return the event handle
     *
     * @return
     *         - \ref NVML_SUCCESS                 if the event has been set
     *         - \ref NVML_ERROR_UNINITIALIZED     if the library has not been successfully initialized
     *         - \ref NVML_ERROR_INVALID_ARGUMENT  if \a set is NULL
     *         - \ref NVML_ERROR_UNKNOWN           on any unexpected error
     *
     * @see nvmlEventSetFree
     */
    nvmlReturn_t DECLDIR nvmlEventSetCreate
    """
    fn = _nvmlGetFunctionPointer("nvmlEventSetCreate")
    eventSet = c_nvmlEventSet_t()
    ret = fn(byref(eventSet))
    _nvmlCheckReturn(ret)
    return eventSet