This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
OSchip
/
OpenBLAS
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
66
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Let openblas_get_num_threads return the number of active threads
... not the number of allocated threads.
Close
#760
tags/v0.2.16.rc1
Jerome Robert
9 years ago
parent
0b194426f8
commit
0d87c1ffb6
1 changed files
with
3 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
driver/others/memory.c
+ 3
- 1
driver/others/memory.c
View File
@@ -357,7 +357,9 @@ int openblas_get_num_threads(void) {
#ifndef SMP
#ifndef SMP
return 1;
return 1;
#else
#else
return blas_get_cpu_number();
// init blas_cpu_number if needed
blas_get_cpu_number();
return blas_cpu_number;
#endif
#endif
}
}
Write
Preview
Loading…
Cancel
Save