LLM inference in C/C++
C++ ggml
sycl: remove duplicate block-size defines from op headers (#29507)
Titaniumtown9b4ed0ca572b
diff --git a/ggml/src/ggml-sycl/im2col.hpp b/ggml/src/ggml-sycl/im2col.hppindex 976d109463..c9eba49ef7 100644--- a/ggml/src/ggml-sycl/im2col.hpp+++ b/ggml/src/ggml-sycl/im2col.hpp@@ -15,8 +15,6 @@#include "common.hpp"-#define SYCL_IM2COL_BLOCK_SIZE 256-void ggml_sycl_op_im2col(ggml_backend_sycl_context & ctx, ggml_tensor * dst);void ggml_sycl_op_im2col_3d(ggml_backend_sycl_context & ctx, ggml_tensor * dst);diff --git a/ggml/src/ggml-sycl/pad.hpp b/ggml/src/ggml-sycl/pad.hppindex b099e9b73a..4bc5a2cfdd 100644--- a/ggml/src/ggml-sycl/pad.hpp+++ b/ggml/src/ggml-sycl/pad.hpp@@ -15,8 +15,6 @@#include "common.hpp"-#define SYCL_PAD_BLOCK_SIZE 256-void ggml_sycl_pad(ggml_backend_sycl_context & ctx, ggml_tensor * dst);void ggml_sycl_op_pad(ggml_backend_sycl_context & ctx, ggml_tensor * dst);diff --git a/ggml/src/ggml-sycl/rope.hpp b/ggml/src/ggml-sycl/rope.hppindex b95a585808..94a769898b 100644--- a/ggml/src/ggml-sycl/rope.hpp+++ b/ggml/src/ggml-sycl/rope.hpp@@ -15,8 +15,6 @@#include "common.hpp"-#define SYCL_ROPE_BLOCK_SIZE 256-void ggml_sycl_rope(ggml_backend_sycl_context & ctx, ggml_tensor *dst);void ggml_sycl_rope_back(ggml_backend_sycl_context & ctx, ggml_tensor * dst);diff --git a/ggml/src/ggml-sycl/upscale.hpp b/ggml/src/ggml-sycl/upscale.hppindex c36c1bdc97..2b72ea1b82 100644--- a/ggml/src/ggml-sycl/upscale.hpp+++ b/ggml/src/ggml-sycl/upscale.hpp@@ -4,6 +4,4 @@#include "dpct/helper.hpp"#include "common.hpp"-#define SYCL_UPSCALE_BLOCK_SIZE 256-void ggml_sycl_upscale(ggml_backend_sycl_context & ctx, ggml_tensor * dst);