This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
!8821
Modify alarm on master
From:
@shenwei41
Reviewed-by:
@pandoublefeng
Signed-off-by:
tags/v1.1.0
mindspore-ci-bot
Gitee
5 years ago
parent
ce503eb3bc
9b54917485
commit
010d950c01
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mindspore/ccsrc/minddata/dataset/util/allocator.h
+ 1
- 1
mindspore/ccsrc/minddata/dataset/util/allocator.h
View File
@@ -69,7 +69,7 @@ class Allocator {
}
pointer allocate(std::size_t n) {
void *p;
void *p
= nullptr
;
Status rc = pool_->Allocate(n * sizeof(T), &p);
if (rc.IsOk()) {
return reinterpret_cast<pointer>(p);
Write
Preview
Loading…
Cancel
Save