cupva_host_fence.h#
Fully qualified name: src/host/c_api/include/detail/scheduling/cupva_host_fence.h
File members: src/host/c_api/include/detail/scheduling/cupva_host_fence.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_FENCE_H
#define CUPVA_HOST_FENCE_H
#include <detail/scheduling/cupva_host_types_scheduling.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
DLL_EXPORT cupvaError_t CupvaFenceInit(cupvaFence_t *const fence, cupvaSyncObj_t const syncObj);
DLL_EXPORT cupvaError_t CupvaFenceGetTimeStamp(cupvaFence_t const *const fence, uint64_t *const timeStamp);
DLL_EXPORT cupvaError_t CupvaFenceWait(cupvaFence_t const *const fence, int64_t const timeout, bool *const waitSuccess);
#ifdef __cplusplus
}
#endif
#endif