update thirdparty and submodule

pull/990/head
wqtshg 4 years ago
parent 435795139f
commit 9ef1c5a89f

@ -1 +1 @@
Subproject commit 848cf412caa9b42ce4e75ab4d0a147ec97dc579b
Subproject commit bb86412204fc72fa8fe4063e6044090dfd714321

@ -1 +1 @@
Subproject commit 756c64c59e451a955e81b59d957ad55f96c27d89
Subproject commit d85b5fc685b9e1f8dbee778c9c7b3ab6f379af79

@ -31,6 +31,7 @@ typedef enum {
AE_STATUS_KERNEL_API_INNER_ERROR = 5,
AE_STATUS_END_OF_SEQUENCE = 6,
AE_STATUS_DUMP_FAILED = 7,
AE_STATUS_TASK_WAIT = 101,
AE_STATUS_RESERVED
} aeStatus_t;

@ -60,6 +60,7 @@ enum FWKTaskExtInfoType {
FWK_ADPT_EXT_UPDATE_ADDR,
FWK_ADPT_EXT_OP_NAME,
FWK_ADPT_EXT_SESSION_INFO,
FWK_ADPT_EXT_BITMAP,
FWK_ADPT_EXT_INVALID
};

@ -50,7 +50,7 @@ typedef int (*mmFilter)(const mmDirent *entry);
typedef int (*mmFilter2)(const mmDirent2 *entry);
typedef int (*mmSort)(const mmDirent **a, const mmDirent **b);
typedef int (*mmSort2)(const mmDirent2 **a, const mmDirent2 **b);
typedef size_t mmSize_t;
typedef size_t mmSize_t; //lint !e410 !e1051
typedef off_t mmOfft_t;
typedef pid_t mmPid_t;
typedef long MM_LONG;
@ -283,6 +283,7 @@ typedef struct {
#define M_W_OK W_OK
#define M_R_OK R_OK
#define MM_DT_DIR DT_DIR
#define MM_DT_REG DT_REG

@ -112,6 +112,12 @@ typedef void *rtEvent_t;
*/
typedef void *rtLabel_t;
/**
* @ingroup dvrt_base
* @brief model handle.
*/
typedef void *rtModel_t;
/**
* @ingroup profiling_base
* @brief runtime handle.
@ -217,6 +223,16 @@ typedef void *rtNotify_t;
*/
RTS_API rtError_t rtLabelCreate(rtLabel_t *label);
/**
* @ingroup dvrt_base
* @brief create label instance
* @param [out] label created label
* @param [in] model label set model
* @return RT_ERROR_NONE for ok
* @return RT_ERROR_INVALID_VALUE for error input
*/
RTS_API rtError_t rtLabelCreateV2(rtLabel_t *label, rtModel_t model);
/**
* @ingroup dvrt_base
* @brief set label and stream instance
@ -314,6 +330,17 @@ RTS_API rtError_t rtLabelListCpy(rtLabel_t *label, uint32_t labelNumber, void *d
*/
RTS_API rtError_t rtLabelCreateEx(rtLabel_t *label, rtStream_t stream);
/**
* @ingroup dvrt_base
* @brief labels to dev info
* @param [out] label created label handle
* @param [in] model label bind model
* @param [in] stream label bind stream
* @return RT_ERROR_NONE for ok
* @return RT_ERROR_INVALID_VALUE for error input
*/
rtError_t rtLabelCreateExV2(rtLabel_t *label, rtModel_t model, rtStream_t stream);
/**
* @ingroup dvrt_base
* @brief get current thread last stream id and task id

@ -51,6 +51,7 @@ typedef enum tagRtVersion {
VER_NA = VER_BEGIN,
VER_ES,
VER_CS,
VER_SD3403,
VER_END,
} rtVersion_t;
@ -165,7 +166,6 @@ RTS_API rtError_t rtGetAiCoreMemoryRates(rtAiCoreMemoryRates_t *aiCoreMemoryRate
*/
RTS_API rtError_t rtGetMemoryConfig(rtMemoryConfig_t *memoryConfig);
/**
* @ingroup
* @brief get l2 buffer Info,virtual baseaddr,Size
@ -176,12 +176,14 @@ RTS_API rtError_t rtMemGetL2Info(rtStream_t stream, void **ptr, uint32_t *size);
/**
* @ingroup
* @brief get runtime version. The version is returned as (1000 major + 10 minor). For example, RUNTIME 9.2 would be represented by 9020.
* @brief get runtime version. The version is returned as (1000 major + 10 minor). For example, RUNTIME 9.2 would be
* represented by 9020.
* @param [out] runtimeVersion
* @return RT_ERROR_NONE for ok
* @return RT_ERROR_INVALID_VALUE for error input
*/
RTS_API rtError_t rtGetRuntimeVersion(uint32_t *runtimeVersion);
#if defined(__cplusplus) && !defined(COMPILE_OMG_PACKAGE)
}
#endif

@ -156,6 +156,7 @@ RTS_API rtError_t rtGetGroupCount(uint32_t *count);
* @return RT_ERROR_NONE for ok
*/
RTS_API rtError_t rtSetCtxINFMode(bool mode);
#if defined(__cplusplus) && !defined(COMPILE_OMG_PACKAGE)
}
#endif

@ -356,6 +356,7 @@ RTS_API rtError_t rtSetDeviceWithoutTsd(int32_t device);
* @return RT_ERROR_INVALID_VALUE for error input
*/
RTS_API rtError_t rtDeviceResetWithoutTsd(int32_t device);
#if defined(__cplusplus) && !defined(COMPILE_OMG_PACKAGE)
}
#endif

@ -109,7 +109,7 @@ typedef struct rtKernelInfo {
/* module */
void *module_addr; // module::baseaddr_
uint32_t module_size;
} * rtKernelInfo_t;
} *rtKernelInfo_t;
/**
* @ingroup rt_KernelConfigDump
@ -376,7 +376,6 @@ RTS_API rtError_t rtCpuKernelLaunchWithFlag(const void *soName, const void *kern
const void *args, uint32_t argsSize, rtSmDesc_t *smDesc, rtStream_t stream,
uint32_t flags);
typedef void *rtModel_t;
/**
* @ingroup rt_kernel
* @brief L1 fusion dump addr transfered to device
@ -414,6 +413,7 @@ RTS_API rtError_t rtDatadumpInfoLoad(const void *dumpInfo, uint32_t length);
RTS_API rtError_t rtConfigureCall(uint32_t numBlocks, rtSmDesc_t *smDesc = nullptr, rtStream_t stream = nullptr);
#else
RTS_API rtError_t rtConfigureCall(uint32_t numBlocks, rtSmDesc_t *smDesc, rtStream_t stream);
#endif
#endif // __CLANG_CCE_RUNTIME_H__

@ -278,7 +278,6 @@ typedef struct tagLabelDevInfo_t {
uint16_t labelId;
}rtLabelDevInfo;
typedef void *rtModel_t;
typedef rtError_t (*rtTaskGenCallback)(rtModel_t model, rtTaskInfo_t *taskInfo);
/**

@ -61,7 +61,7 @@ int32_t TdtHostInit(uint32_t deviceId);
* @li tdt_host_interface.h: Header file where the interface declaration is located.
* @li data_common.h: Header file where 'DataItem' defined
*/
int32_t TdtHostPushData(const std::string &channelName, const std::vector<DataItem> &item);
int32_t TdtHostPushData(const std::string &channelName, const std::vector<DataItem> &item, uint32_t deviceId = 0);
/**
* @ingroup TdtHostDestroy
@ -203,25 +203,6 @@ int32_t TdtInFeedDestroy(uint32_t deviceId);
* @li tdt_host_interface.h: Header file where the interface declaration is located.
*/
int32_t TdtOutFeedDestroy();
/**
* @ingroup TdtInFeedData
* @brief Blocking queue. When the queue is full, the Push interface will block.
*
* @par Function
* Blocking queue. When the queue is full, the Push interface will block.
*
* @param channelName [IN] type #String. queue channel name
* @param items [IN] type #vector<DataItem> DataItem is defined in data_common.h. input data
* @retval 0 Success
* @retval OtherValues 0 Fail
*
* @par Dependency
* @li libtsdclient.so: Library to which the interface belongs.
* @li tdt_host_interface.h: Header file where the interface declaration is located.
* @li data_common.h: Header file where 'DataItem' defined
*/
int32_t TdtInFeedData(const std::string &channelName, const std::vector<DataItem> &item, uint32_t deviceId);
} // namespace tdt
#ifdef __cplusplus
}

Loading…
Cancel
Save