This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
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
Merge pull request
#762
from jeromerobert/bug760
Let openblas_get_num_threads return the number of active threads
tags/v0.2.16.rc1
Zhang Xianyi
9 years ago
parent
e382713423
0d87c1ffb6
commit
f5df444ceb
1 changed files
with
3 additions
and
1 deletions
Split 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
return 1;
#else
return blas_get_cpu_number();
// init blas_cpu_number if needed
blas_get_cpu_number();
return blas_cpu_number;
#endif
}
Write
Preview
Loading…
Cancel
Save