File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ clblasSgemmFunctor * FunctorSelectorHawaii::select_sgemm_specific(clblasSgemmFun
101
101
// TODO: the logic below is complicated; Needs cleanup;
102
102
clblasSgemmFunctor * functor;
103
103
bool Not_TT = ((args.transA ==clblasNoTrans && args.transB ==clblasTrans ) || ( args.transA ==clblasNoTrans && args.transB ==clblasNoTrans ) || ( args.transA ==clblasTrans && args.transB ==clblasNoTrans ));
104
- bool SmallMatrices = args.M /6 *args.N /6 <180 *180 || ((args.M %64 !=0 && args.N %64 !=0 && args.M <1900 &&args.N <1900 ) && (args.M %96 !=0 && args.N %96 !=0 && args.M <1900 &&args.N <1900 ));
104
+ bool SmallMatrices = args.M /6 *args.N /6 <100 * 100 || (args. M / 6 *args. N / 6 < 180 *180 && (args. M % 32 != 0 ||args. N % 32 != 0 ) || ((args.M %64 !=0 && args.N %64 !=0 && args.M <1900 &&args.N <1900 ) && (args.M %96 !=0 && args.N %96 !=0 && args.M <1900 &&args.N <1900 ));
105
105
bool SmallMatricesMod32= (SmallMatrices && (args.M %32 ==0 &&args.N %32 ==0 )) ;
106
106
SmallMatricesMod32 = SmallMatricesMod32&&Not_TT&&args.K % 16 == 0 ;
107
107
// SmallMatrices= false;
Original file line number Diff line number Diff line change 1
- #if !defined CLBLAS_HAWAII_DYNAMIC_KERNEL && !defined CLBLAS_BONAIRE_DYNAMIC_KERNEL
1
+ #if !defined CLBLAS_HAWAII_DYNAMIC_KERNEL || !defined CLBLAS_BONAIRE_DYNAMIC_KERNEL
2
2
3
3
#include < stdio.h>
4
4
#include < string.h>
You can’t perform that action at this time.
0 commit comments