cupva_host_types.h#

Fully qualified name: src/host/c_api/include/cupva_host_types.h

File members: src/host/c_api/include/cupva_host_types.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_TYPES_H
#define CUPVA_HOST_TYPES_H

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct
{
    uint64_t data[6];
} cupvaFence_t;

typedef struct
{
    uint64_t data[2];
} cupvaParameter_t;

typedef struct
{
    uint64_t data[3];
} cupvaCmd_t;

typedef struct
{
    uint64_t data[4];
} cupvaOffsetPointer_t;

typedef struct cupvaContextRec *cupvaContext_t;

typedef struct cupvaCmdBufferRec *cupvaCmdBuffer_t;

typedef struct cupvaExecutableRec *cupvaExecutable_t;

typedef struct cupvaStreamRec *cupvaStream_t;

typedef struct cupvaDataFlowRec *cupvaDataFlow_t;

typedef struct cupvaSyncObjRec *cupvaSyncObj_t;

typedef struct cupvaCmdStatusRec *cupvaCmdStatus_t;

#ifdef __cplusplus
}
#endif
#endif