From 75a32668b0d8d3e5f1c0fe62ed8e24b8d635a362 Mon Sep 17 00:00:00 2001 From: arthw <14088817+arthw@users.noreply.github.com> Date: Wed, 7 Aug 2024 23:22:50 +0800 Subject: [PATCH] fix error --- ggml/src/ggml-sycl/norm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml/src/ggml-sycl/norm.cpp b/ggml/src/ggml-sycl/norm.cpp index 7a6afbf7a1cb2..81da6e1c70f7d 100644 --- a/ggml/src/ggml-sycl/norm.cpp +++ b/ggml/src/ggml-sycl/norm.cpp @@ -228,7 +228,7 @@ static void norm_f32_sycl(const float* x, float* dst, const int ncols, static void group_norm_f32_sycl(const float* x, float* dst, const int num_groups, const float eps, const int group_size, - const int ne_elements, queue_ptr stream, int device) { + const int ne_elements, queue_ptr stream, int device_id) { if (group_size < 1024) { const sycl::range<3> block_dims(1, 1, WARP_SIZE); stream->submit([&](sycl::handler& cgh) {