Skip to content

Commit 79eede6

Browse files
committed
remove unnecessary headers and remove trailing whitespace
1 parent ade12bf commit 79eede6

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

ggml/src/ggml-sycl/ggml-sycl.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
#include <sycl/half_type.hpp>
3434

3535
#include "ggml-sycl.h"
36-
#include "common.hpp"
3736
#include "ggml-impl.h"
3837
#include "ggml-backend-impl.h"
3938

@@ -45,7 +44,6 @@
4544
#include "ggml-sycl/sycl_hw.hpp"
4645
#include "ggml-sycl/getrows.hpp"
4746
#include "ggml.h"
48-
#include "presets.hpp"
4947

5048
static bool g_sycl_loaded = false;
5149
int g_ggml_sycl_debug = 0;

ggml/src/ggml-sycl/mmvq.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include "mmvq.hpp"
2-
#include <cstdint>
32

43
#include "ggml.h"
54
#include "common.hpp"
@@ -40,7 +39,7 @@ static void mul_mat_vec_q_reorder(const void * __restrict__ vx, const void * __r
4039
// Y block index that aligns with ibx
4140
const int iby = i * block_type::block_to_q8_1_ratio();
4241
const int8_t* q8_1_quant_ptr = (const int8_t*)vy + iby * QK8_1;
43-
const sycl::half2* q8_1_ds_ptr = (const sycl::half2*)((const char*)vy + ncols + iby * sizeof(sycl::half2));
42+
const sycl::half2* q8_1_ds_ptr = (const sycl::half2*)((const char*)vy + ncols + iby * sizeof(sycl::half2));
4443

4544
#pragma unroll
4645
for (int elem = 0; elem < block_elements_per_subgroup; elem += WARP_SIZE) {

0 commit comments

Comments
 (0)