cupva_host_sync_obj.h#

Fully qualified name: src/host/c_api/include/detail/scheduling/cupva_host_sync_obj.h

File members: src/host/c_api/include/detail/scheduling/cupva_host_sync_obj.h

/*
 * Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
 *
 * NVIDIA Corporation and its licensors retain all intellectual property
 * and proprietary rights in and to this software, related documentation
 * and any modifications thereto.  Any use, reproduction, disclosure or
 * distribution of this software and related documentation without an express
 * license agreement from NVIDIA Corporation is strictly prohibited.
 */

#ifndef CUPVA_HOST_SYNC_OBJ_H
#define CUPVA_HOST_SYNC_OBJ_H

#include <detail/scheduling/cupva_host_types_scheduling.h>
#include <stdbool.h>

#ifdef __cplusplus
extern "C" {
#endif

DLL_EXPORT cupvaError_t CupvaSyncObjCreate(cupvaSyncObj_t *const syncObj, bool const isTimeStamp,
                                           cupvaSyncClientType_t const clientType, cupvaSyncWaitMode_t const waitMode);

DLL_EXPORT cupvaError_t CupvaSyncObjDestroy(cupvaSyncObj_t const syncObj);

#ifdef __cplusplus
}
#endif
#endif