From 1c5611ef1e8f9f7b91ea9c9f44f2972e6453726a Mon Sep 17 00:00:00 2001 From: Akarshan Biswas Date: Tue, 21 Jan 2025 19:29:39 +0530 Subject: [PATCH] softmax: remove pragma unroll directive --- ggml/src/ggml-sycl/softmax.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/ggml/src/ggml-sycl/softmax.cpp b/ggml/src/ggml-sycl/softmax.cpp index 60528139d..990346681 100644 --- a/ggml/src/ggml-sycl/softmax.cpp +++ b/ggml/src/ggml-sycl/softmax.cpp @@ -32,7 +32,6 @@ static void soft_max_f32(const float * x, const T * mask, float * dst, const int float *vals = vals_smem ? buf + sycl::max(nwarps, WARP_SIZE) : dst + rowx * ncols; float max_val = -INFINITY; -#pragma unroll for (int col0 = 0; col0 < ncols; col0 += block_size) { const int col = col0 + tid;