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
!11863
[MD][codex] Fix numa_iterface codex problem
From:
@xiefangqi
Reviewed-by: @pandoublefeng,@heleiwang Signed-off-by:
@pandoublefeng
tags/v1.2.0-rc1
mindspore-ci-bot
Gitee
4 years ago
parent
69ff16a751
fdeded6c42
commit
d429ea3f7d
1 changed files
with
3 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
mindspore/ccsrc/minddata/dataset/util/numa_interface.cc
+ 3
- 0
mindspore/ccsrc/minddata/dataset/util/numa_interface.cc
View File
@@ -19,6 +19,9 @@
namespace mindspore {
namespace mindspore {
namespace dataset {
namespace dataset {
inline void *LoadLibrary(const char *name) {
inline void *LoadLibrary(const char *name) {
if (name == nullptr) {
return nullptr;
}
auto handle = dlopen(name, RTLD_LAZY | RTLD_LOCAL);
auto handle = dlopen(name, RTLD_LAZY | RTLD_LOCAL);
return handle;
return handle;
}
}
Write
Preview
Loading…
Cancel
Save