File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*****************************************************************************
2
- Copyright (c) 2011-2014 , The OpenBLAS Project
2
+ Copyright (c) 2011-2023 , The OpenBLAS Project
3
3
All rights reserved.
4
4
5
5
Redistribution and use in source and binary forms, with or without
@@ -3338,6 +3338,12 @@ is a big desktop or server with abundant cache rather than a phone or embedded d
3338
3338
3339
3339
#elif defined(NEOVERSEN1 )
3340
3340
3341
+ #if defined(XDOUBLE ) || defined(DOUBLE )
3342
+ #define SWITCH_RATIO 8
3343
+ #else
3344
+ #define SWITCH_RATIO 16
3345
+ #endif
3346
+
3341
3347
#define SGEMM_DEFAULT_UNROLL_M 16
3342
3348
#define SGEMM_DEFAULT_UNROLL_N 4
3343
3349
@@ -3367,7 +3373,11 @@ is a big desktop or server with abundant cache rather than a phone or embedded d
3367
3373
3368
3374
#elif defined(NEOVERSEV1 )
3369
3375
3370
- #define SWITCH_RATIO 16
3376
+ #if defined(XDOUBLE ) || defined(DOUBLE )
3377
+ #define SWITCH_RATIO 8
3378
+ #else
3379
+ #define SWITCH_RATIO 16
3380
+ #endif
3371
3381
3372
3382
#define SGEMM_DEFAULT_UNROLL_M 16
3373
3383
#define SGEMM_DEFAULT_UNROLL_N 4
@@ -3398,6 +3408,12 @@ is a big desktop or server with abundant cache rather than a phone or embedded d
3398
3408
3399
3409
#elif defined(NEOVERSEN2 )
3400
3410
3411
+ #if defined(XDOUBLE ) || defined(DOUBLE )
3412
+ #define SWITCH_RATIO 8
3413
+ #else
3414
+ #define SWITCH_RATIO 16
3415
+ #endif
3416
+
3401
3417
#undef SBGEMM_ALIGN_K
3402
3418
#define SBGEMM_ALIGN_K 4
3403
3419
You can’t perform that action at this time.
0 commit comments