增加和tfe之间的保活
This commit is contained in:
8
entry/include/tfe_mgr.h
Normal file
8
entry/include/tfe_mgr.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
#define TFE_COUNT_MAX 32
|
||||
#define BUFF_SIZE_MAX 1024
|
||||
|
||||
struct tfe_mgr;
|
||||
struct tfe_mgr* tfe_mgr_init(int tfe_node_count, const char* profile, void *logger);
|
||||
void tfe_mgr_destroy(struct tfe_mgr* mgr);
|
||||
int tfe_mgr_alive_node_get(struct tfe_mgr *mgr, int thread_seq);
|
||||
Reference in New Issue
Block a user