cupva_host_cmd_buffer.h#

Fully qualified name: src/host/c_api/include/detail/scheduling/cupva_host_cmd_buffer.h

File members: src/host/c_api/include/detail/scheduling/cupva_host_cmd_buffer.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_CMD_BUFFER_H
#define CUPVA_HOST_CMD_BUFFER_H

#include <detail/scheduling/cupva_host_types_scheduling.h>

#ifdef __cplusplus
extern "C" {
#endif

DLL_EXPORT cupvaError_t CupvaCmdBufferCreate(cupvaCmdBuffer_t *const cmdBuffer, cupvaCmd_t **const cmdList,
                                             int32_t const cmdListSize, cupvaCmdStatus_t *const status,
                                             cupvaOrderType_t const order);

DLL_EXPORT cupvaError_t CupvaCmdBufferDestroy(cupvaCmdBuffer_t const cmdBuffer);

#ifdef __cplusplus
}
#endif
#endif