File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -879,7 +879,7 @@ static __device__ __forceinline__ void vec_dot_q8_0_q8_1_mma(
879879 #pragma unroll
880880 for (int l = 0 ; l < tile_C::ne/2 ; ++l) {
881881 const int j = tile_C::get_j (l);
882- if constexpr (ds_layout == MMQ_Q8_1_DS_LAYOUT_D4) {
882+ if (ds_layout == MMQ_Q8_1_DS_LAYOUT_D4) {
883883 dB[l] = y_df[j*MMQ_TILE_Y_K + k01/QI8_1];
884884 } else {
885885 dB[l] = __low2float (y_ds[j*MMQ_TILE_Y_K + k01/QI8_1]);
@@ -906,7 +906,7 @@ static __device__ __forceinline__ void vec_dot_q8_0_q8_1_mma(
906906 #pragma unroll
907907 for (int l = 0 ; l < tile_C::ne/2 ; ++l) {
908908 const int j = j0 + tile_C::get_j (l);
909- if constexpr (ds_layout == MMQ_Q8_1_DS_LAYOUT_D4) {
909+ if (ds_layout == MMQ_Q8_1_DS_LAYOUT_D4) {
910910 dB[l] = y_df[j*MMQ_TILE_Y_K + k01/QI8_1];
911911 } else {
912912 dB[l] = __low2float (y_ds[j*MMQ_TILE_Y_K + k01/QI8_1]);
You can’t perform that action at this time.
0 commit comments