cupva_host_nvsci.hpp#
Fully qualified name: src/host/cpp_api/include/cupva_host_nvsci.hpp
File members: src/host/cpp_api/include/cupva_host_nvsci.hpp
/*
* Copyright (c) 2021, 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_NVSCI_HPP
#define CUPVA_HOST_NVSCI_HPP
#include "cupva_host.hpp"
#include <nvscibuf.h>
#include <nvscisync.h>
namespace cupva { namespace nvsci {
namespace mem {
DLL_EXPORT void *Import(NvSciBufObj const buff,
cupva::mem::AccessType const access = cupva::mem::AccessType::READ_WRITE);
DLL_EXPORT void FillAttributes(NvSciBufAttrList const sciBufAttr);
} // namespace mem
DLL_EXPORT SyncObj Import(NvSciSyncObj obj, SyncClientType clientType = SyncClientType::SIGNALER_WAITER);
DLL_EXPORT void FillAttributes(NvSciSyncAttrList const attrList,
SyncClientType const clientType = SyncClientType::SIGNALER_WAITER);
DLL_EXPORT void Import(Fence &cupvaFence, NvSciSyncFence const &sciFence);
DLL_EXPORT void Export(Fence const &cupvaFence, NvSciSyncFence &sciFence);
}} // namespace cupva::nvsci
#endif