From e9bcdf895681d1a5359e52a971b470f5bf093123 Mon Sep 17 00:00:00 2001 From: Akarshan Biswas Date: Tue, 21 Jan 2025 19:34:00 +0530 Subject: [PATCH] softmax: remove GGML_SYCL_DEBUG as they don't work in softmax.cpp --- ggml/src/ggml-sycl/softmax.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/ggml/src/ggml-sycl/softmax.cpp b/ggml/src/ggml-sycl/softmax.cpp index 990346681..563e0655f 100644 --- a/ggml/src/ggml-sycl/softmax.cpp +++ b/ggml/src/ggml-sycl/softmax.cpp @@ -248,12 +248,10 @@ void ggml_sycl_op_soft_max(ggml_backend_sycl_context & ctx, ggml_tensor * dst) { dpct::queue_ptr main_stream = ctx.stream(); if (dst->src[1] && dst->src[1]->type == GGML_TYPE_F16) { - GGML_SYCL_DEBUG("%s: fp16 mask\n", __func__); const sycl::half * src1_dd = static_cast(dst->src[1]->data); soft_max_f32_sycl(src0_dd, src1_dd, dst_dd, ne00, nrows_x, nrows_y, scale, max_bias, main_stream, ctx.device); } else if (dst->src[1] && dst->src[1]->type == GGML_TYPE_F32) { - GGML_SYCL_DEBUG("%s: fp32 mask\n", __func__); const float * src1_dd = static_cast(dst->src[1]->data); soft_max_f32_sycl(src0_dd, src1_dd, dst_dd, ne00, nrows_x, nrows_y, scale, max_bias, main_stream, ctx.device); } else {