This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
MindSpore-GraphEngine
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
10
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
io_addrs mistake
pull/803/head
zhangxiaokun
5 years ago
parent
7e7d3109c7
commit
61a112825f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
ge/graph/load/new_model_manager/davinci_model.cc
+ 1
- 1
ge/graph/load/new_model_manager/davinci_model.cc
View File
@@ -2807,7 +2807,7 @@ void *DavinciModel::GetRunAddress(void *addr) const {
return addr;
}
uintptr_t ptr = reinterpret_cast<uintptr_t>(
io_
addr
s[i]
);
uintptr_t ptr = reinterpret_cast<uintptr_t>(addr);
if ((fixed_mem_base_ <= ptr) && (ptr < fixed_mem_base_ + runtime_param_.mem_size)) {
return mem_base_ + (ptr - fixed_mem_base_);
} else {
Write
Preview
Loading…
Cancel
Save