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
Omit the divide table overflow check on small systems
tags/v0.3.0^2
Martin Kroeker
GitHub
7 years ago
parent
e93355e5e1
commit
d0c0506588
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
3 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
common_x86_64.h
+ 3
- 1
common_x86_64.h
View File
@@ -195,11 +195,13 @@ static __inline int blas_quickdivide(unsigned int x, unsigned int y){
unsigned int result;
unsigned int result;
if (y <= 1) return x;
if (y <= 1) return x;
#if (MAX_CPU_NUMBER > 64)
if (y > 64) {
if (y > 64) {
result = x / y;
result = x / y;
return result;
return result;
}
}
#endif
y = blas_quick_divide_table[y];
y = blas_quick_divide_table[y];
Write
Preview
Loading…
Cancel
Save