cupva_host_types_detail.h#
Fully qualified name: src/host/c_api/include/detail/cupva_host_types_detail.h
File members: src/host/c_api/include/detail/cupva_host_types_detail.h
/*
* SPDX-FileCopyrightText: Copyright (c) 2023 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 CUPVA_HOST_TYPES_DETAIL_H
#define CUPVA_HOST_TYPES_DETAIL_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef DLL_EXPORT
# define DLL_EXPORT __attribute__((visibility("default")))
#endif
typedef enum
{
CUPVA_ERROR_NONE = 0,
CUPVA_UNSUPPORTED_FEATURE,
CUPVA_INTERNAL_ERROR,
CUPVA_INVALID_STATE,
CUPVA_INVALID_ARGUMENT,
CUPVA_UNINITIALIZED_OBJECT,
CUPVA_DRIVER_API_ERROR,
CUPVA_COMMAND_EXECUTION_TIMEOUT,
CUPVA_COMMAND_SUBMISSION_TIMEOUT,
CUPVA_ENGINE_IN_BAD_STATE,
CUPVA_FENCE_STATUS_BUFFER_FAILURE,
CUPVA_VPU_APPLICATION_ERROR,
CUPVA_VPU_DIVIDE_BY_ZERO,
CUPVA_VPU_FLOATING_POINT_NAN,
CUPVA_VPU_ILLEGAL_INSTRUCTION,
CUPVA_VPU_HALTED,
CUPVA_VPU_DEBUG_NOT_ALLOWED,
CUPVA_VPU_ABORTED,
CUPVA_OPERATION_PENDING,
CUPVA_INCOMPATIBLE_VERSION,
CUPVA_CUDA_DISABLED,
CUPVA_INSUFFICIENT_DRIVER_VERSION,
CUPVA_DLUT_ERROR,
CUPVA_DMA_VALIDATION_FAILED,
CUPVA_PARAMETER_VALIDATION_FAILED,
CUPVA_UNKNOWN_ERROR,
// NVIDIA DRIVE OS error code range starts
CUPVA_PSFD_CHECK_MISMATCH,
CUPVA_PSFD_TIMEOUT,
CUPVA_NOT_ALLOWED_IN_OPERATIONAL_STATE,
CUPVA_ABORTED_CMD_BUFFER,
CUPVA_ERROR_TYPE_MAX
} cupvaError_t;
#ifdef __cplusplus
}
#endif
#endif