This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
hummingbird
/
graphengine
Not watched
Unwatch
Watch all
Watch but not notify
2
Star
0
Fork
0
Code
Releases
13
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
!1303
fix rt_model.h mismatch bug
From:
@xuepenginnanjing
Reviewed-by: @ji_chen,@xchu42 Signed-off-by:
@ji_chen
tags/v1.3.0
mindspore-ci-bot
Gitee
3 years ago
parent
0664647c5a
bb8f882bf6
commit
9d6de56d16
1 changed files
with
17 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+17
-0
third_party/fwkacllib/inc/runtime/rt_model.h
+ 17
- 0
third_party/fwkacllib/inc/runtime/rt_model.h
View File
@@ -285,10 +285,27 @@ typedef struct tagTaskInfo {
} u;
} rtTaskInfo_t;
typedef struct tagNodeInfo_t {
uint32_t nodeIdx;
uint32_t reserved[1];
} rtNodeInfo;
typedef struct tagHwtsInfo_t {
uint16_t taskId;
uint16_t sqExeHead;
uint16_t streamExeHead;
uint16_t reserved[2];
} rtHwtsInfo;
typedef struct tagLabelDevInfo_t {
uint16_t modelId;
uint16_t streamId;
uint16_t labelId;
union {
rtNodeInfo nodeInfo;
rtHwtsInfo hwtsInfo;
uint16_t reserved[5];
}u;
}rtLabelDevInfo;
typedef rtError_t (*rtTaskGenCallback)(rtModel_t model, rtTaskInfo_t *taskInfo);
Write
Preview
Loading…
Cancel
Save