cupva_host_nonsafety.hpp#
Fully qualified name: src/host/cpp_api/include/cupva_host_nonsafety.hpp
File members: src/host/cpp_api/include/cupva_host_nonsafety.hpp
/*
* Copyright (c) 2021-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_NONSAFETY_HPP
#define CUPVA_HOST_NONSAFETY_HPP
#include "cupva_host.hpp"
#include <cstdint>
static_assert(CUPVA_ALLOW_NONSAFETY == 1,
"cupva_host_nonsafety.hpp contains non safety certified functions, you must set CUPVA_ALLOW_NONSAFETY "
"preprocessor token to 1 to use this header.");
namespace cupva {
namespace mem {
DLL_EXPORT void *ImportFromHostPtr(void *const hostPtr, int64_t const size,
AccessType const access = AccessType::READ_WRITE);
} // namespace mem
DLL_EXPORT void SetVPUPrintBufferSize(uint32_t const size);
} // namespace cupva
#endif