Browse Source

add head file.

tags/v1.1.0
unknown 3 years ago
parent
commit
f4cedd32d7
2 changed files with 9 additions and 1 deletions
  1. +6
    -0
      third_party/fwkacllib/inc/cce/aicpu_engine_struct.h
  2. +3
    -1
      third_party/fwkacllib/inc/cce/fwk_adpt_struct.h

+ 6
- 0
third_party/fwkacllib/inc/cce/aicpu_engine_struct.h View File

@@ -40,6 +40,12 @@ typedef struct {
} fwkKernelBase;
} __attribute__((packed)) STR_FWK_OP_KERNEL;

struct SessionInfo {
uint64_t sessionId;
uint64_t kernelId;
bool sessFlag;
} __attribute__((packed));

#ifdef __cplusplus
}
#endif


+ 3
- 1
third_party/fwkacllib/inc/cce/fwk_adpt_struct.h View File

@@ -48,7 +48,8 @@ enum FWKOperateType {
FWK_ADPT_KERNEL_RUN,
FWK_ADPT_KERNEL_DESTROY,
FWK_ADPT_SESSION_DESTROY,
FWK_ADPT_SINGLE_OP_RUN
FWK_ADPT_SINGLE_OP_RUN,
FWK_ADPT_KERNEL_RUN_NO_SESS,
};

// Extend Info type for task
@@ -58,6 +59,7 @@ enum FWKTaskExtInfoType {
FWK_ADPT_EXT_OUTPUT_SHAPE,
FWK_ADPT_EXT_UPDATE_ADDR,
FWK_ADPT_EXT_OP_NAME,
FWK_ADPT_EXT_SESSION_INFO,
FWK_ADPT_EXT_INVALID
};



Loading…
Cancel
Save