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
Ref
#375
: added workaround for small sizes to scal.c and zscal.c
tags/v0.2.10.rc1^2
wernsaar
11 years ago
parent
faf3ac0aad
commit
bff575d0b1
2 changed files
with
6 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
interface/scal.c
+3
-0
interface/zscal.c
+ 3
- 0
interface/scal.c
View File
@@ -78,6 +78,9 @@ void CNAME(blasint n, FLOAT alpha, FLOAT *x, blasint incx){
#ifdef SMP
#ifdef SMP
nthreads = num_cpu_avail(1);
nthreads = num_cpu_avail(1);
if (n <= 1048576 )
nthreads = 1;
if (nthreads == 1) {
if (nthreads == 1) {
#endif
#endif
+ 3
- 0
interface/zscal.c
View File
@@ -90,6 +90,9 @@ void CNAME(blasint n, FLOAT alpha_r, FLOAT *x, blasint incx){
#ifdef SMP
#ifdef SMP
nthreads = num_cpu_avail(1);
nthreads = num_cpu_avail(1);
if ( n <= 1048576 )
nthreads = 1;
if (nthreads == 1) {
if (nthreads == 1) {
#endif
#endif
Write
Preview
Loading…
Cancel
Save