This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
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
Handle runtime OMP thread count exceeding build-time NUM_THREADS
pull/2992/head
Martin Kroeker
GitHub
5 years ago
parent
26ce2705f1
commit
8116299631
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
common_thread.h
+ 1
- 0
common_thread.h
View File
@@ -140,6 +140,7 @@ static __inline int num_cpu_avail(int level) {
#ifdef USE_OPENMP
int openmp_nthreads=omp_get_max_threads();
if (openmp_nthreads > MAX_CPU_NUMBER) openmp_nthreads=MAX_CPU_NUMBER;
#endif
#ifndef USE_OPENMP
Write
Preview
Loading…
Cancel
Save