40 lines
1.1 KiB
C
40 lines
1.1 KiB
C
/*
|
|
Copyright (c), 2001-2022, Shenshu Tech. Co., Ltd.
|
|
*/
|
|
|
|
#ifndef _SS_RUNTIME_API_H_
|
|
#define _SS_RUNTIME_API_H_
|
|
|
|
#include "ot_common_runtime.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
td_s32 SS_RTInit(IN const td_char *globalSetting, IN const OT_RTMemCtrl *memCtrl);
|
|
|
|
td_s32 SS_RTLoadModelGroup(IN const td_char *modelGroupConfig,
|
|
IN OT_RTGroupInfo *modelGroupAttr,
|
|
OUT OT_RTGroupHandle *groupHandle);
|
|
|
|
td_s32 SS_RTForwardGroupSync(IN const OT_RTGroupHandle groupHandle,
|
|
IN const OT_RTGroupSrcBlobArrayPtr src,
|
|
OUT OT_RTGroupDstBlobArrayPtr dst,
|
|
IN td_u64 srcId);
|
|
|
|
td_s32 SS_RTForwardGroupAsync(IN const OT_RTGroupHandle groupHandle,
|
|
IN const OT_RTGroupSrcBlobArrayPtr src,
|
|
OUT OT_RTGroupDstBlobArrayPtr dst,
|
|
IN td_u64 srcId,
|
|
IN OT_RTForwardCallback callbackFunc);
|
|
|
|
td_s32 SS_RTUnloadModelGroup(IN const OT_RTGroupHandle groupHandle);
|
|
|
|
td_s32 SS_RTDeInit();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|