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
Introduce a (crude) threshold to multithreading
pull/5403/head
Martin Kroeker
GitHub
2 months ago
parent
b4c2b34a45
commit
a9e8fa06bf
No known key found for this signature in database
GPG Key ID:
B5690EEEBB952194
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
interface/trmv.c
+ 4
- 1
interface/trmv.c
View File
@@ -219,7 +219,10 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
#ifdef SMP
nthreads = num_cpu_avail(2);
if (n < 50 ) nthreads = 1;
if (nthreads > 2 && n < 500) nthreads = 2;
if (nthreads == 1) {
#endif
Write
Preview
Loading…
Cancel
Save