pvasdk_platform.h#

Fully qualified name: cmake/include/pvasdk_platform.h

File members: cmake/include/pvasdk_platform.h

/*
 * SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
 * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
 *
 * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
 * property and proprietary rights in and to this material, related
 * documentation and any modifications thereto. Any use, reproduction,
 * disclosure or distribution of this material and related documentation
 * without an express license agreement from NVIDIA CORPORATION or
 * its affiliates is strictly prohibited.
 */

#ifndef PVASDK_PLATFORM_H
#define PVASDK_PLATFORM_H

#define PVA_DECLARE_EXECUTABLE(_name_)          \
    extern int32_t PVA_EXECUTABLE_SIZE(_name_); \
    extern uint8_t PVA_EXECUTABLE_DATA(_name_)[];

#define PVA_EXECUTABLE_DATA(_name_) _cupva_exe_data_##_name_

#define PVA_EXECUTABLE_SIZE(_name_) _cupva_exe_size_##_name_

#endif