cupva_host_conversions.hpp#

Fully qualified name: src/host/conversions/include/cupva_host_conversions.hpp

File members: src/host/conversions/include/cupva_host_conversions.hpp

/*
 * 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_CONVERSIONS_HPP
#define CUPVA_HOST_CONVERSIONS_HPP

#include <cupva_host.hpp>

#include <cupva_host.h>
#include <cupva_host_types.h>

namespace cupva {

DLL_EXPORT void ConvertTo(Fence input, cupvaFence_t &output) noexcept;

DLL_EXPORT void ConvertTo(Parameter input, cupvaParameter_t &output) noexcept;

DLL_EXPORT void ConvertTo(BaseCmd input, cupvaCmd_t &output) noexcept;

DLL_EXPORT void ConvertTo(OffsetPointer<void const> input, cupvaOffsetPointer_t &output) noexcept;

DLL_EXPORT void ConvertTo(Context input, cupvaContext_t &output) noexcept;

DLL_EXPORT void ConvertTo(CmdBuffer input, cupvaCmdBuffer_t &output) noexcept;

DLL_EXPORT void ConvertTo(Executable input, cupvaExecutable_t &output) noexcept;

DLL_EXPORT void ConvertTo(Stream input, cupvaStream_t &output) noexcept;

DLL_EXPORT void ConvertTo(BaseDataFlow input, cupvaDataFlow_t &output) noexcept;

DLL_EXPORT void ConvertTo(SyncObj input, cupvaSyncObj_t &output) noexcept;

} // namespace cupva

#endif