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
disable multithreading for small workloads
tags/v0.3.29
Martin Kroeker
GitHub
10 months ago
parent
0578a89afd
commit
0c440f8a27
No known key found for this signature in database
GPG Key ID:
B5690EEEBB952194
1 changed files
with
3 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
interface/lapack/trtri.c
+ 3
- 0
interface/lapack/trtri.c
View File
@@ -127,6 +127,9 @@ int NAME(char *UPLO, char *DIAG, blasint *N, FLOAT *a, blasint *ldA, blasint *In
#endif
#endif
#ifdef SMP
#ifdef SMP
if (args.n <= 150)
args.nthreads = 1;
else
args.nthreads = num_cpu_avail(4);
args.nthreads = num_cpu_avail(4);
if (args.nthreads == 1) {
if (args.nthreads == 1) {
Write
Preview
Loading…
Cancel
Save