Skip to content

Commit ac8a4bd

Browse files
committed
move QK_WARP_SIZE to presets.hpp
1 parent d7cf5f5 commit ac8a4bd

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

ggml/src/ggml-sycl/dmmv.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#include "dequantize.hpp"
44
#include "presets.hpp"
55

6-
int constexpr QK_WARP_SIZE = 32;
76

87
static void convert_f16(const void * vx, const int ib, const int iqs, dfloat2 & v){
98
const sycl::half *x = (const sycl::half *)vx;

ggml/src/ggml-sycl/presets.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,5 @@ static_assert(K_QUANTS_PER_ITERATION == 1 || K_QUANTS_PER_ITERATION == 2, "K_QUA
6262

6363
#define MUL_MAT_SRC1_COL_STRIDE 128
6464

65+
#define QK_WARP_SIZE 32
6566
#endif // GGML_SYCL_PRESETS_HPP

0 commit comments

Comments
 (0)