cupva_host_stream.h#
Fully qualified name: src/host/c_api/include/detail/scheduling/cupva_host_stream.h
File members: src/host/c_api/include/detail/scheduling/cupva_host_stream.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_STREAM_H
#define CUPVA_HOST_STREAM_H
#include <detail/scheduling/cupva_host_types_scheduling.h>
#ifdef __cplusplus
extern "C" {
#endif
DLL_EXPORT cupvaError_t CupvaStreamCreate(cupvaStream_t *const stream, cupvaEngineType_t const absEngine,
cupvaAffinityType_t const vpuAffinity);
DLL_EXPORT cupvaError_t CupvaStreamDestroy(cupvaStream_t const stream);
DLL_EXPORT cupvaError_t CupvaStreamSubmit(cupvaStream_t const stream, cupvaCmd_t const *const *const command,
cupvaCmdStatus_t *const status, int32_t const count,
cupvaOrderType_t const order, int32_t const executionTimeout,
int32_t const submitTimeout);
DLL_EXPORT cupvaError_t CupvaStreamSubmitCmdBuffer(cupvaStream_t const stream, cupvaCmdBuffer_t const cmdBuffer,
int32_t const executionTimeout, int32_t const submitTimeout);
#ifdef __cplusplus
}
#endif
#endif