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
revert accidental changes
tags/v0.3.25^2
Martin Kroeker
GitHub
2 years ago
parent
60ff5872af
commit
2dba455d2e
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
2 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
common_thread.h
+ 2
- 2
common_thread.h
View File
@@ -141,14 +141,14 @@ static __inline int num_cpu_avail(int level) {
#ifdef USE_OPENMP
#ifdef USE_OPENMP
int openmp_nthreads;
int openmp_nthreads;
openmp_nthreads=omp_get_max_threads(
void
);
openmp_nthreads=omp_get_max_threads();
#endif
#endif
#ifndef USE_OPENMP
#ifndef USE_OPENMP
if (blas_cpu_number == 1
if (blas_cpu_number == 1
#endif
#endif
#ifdef USE_OPENMP
#ifdef USE_OPENMP
if (openmp_nthreads == 1 || omp_in_parallel(
void
)
if (openmp_nthreads == 1 || omp_in_parallel()
#endif
#endif
) return 1;
) return 1;
Write
Preview
Loading…
Cancel
Save