From 53847e4a553d1d203c901aacb9597f14d4e24ed4 Mon Sep 17 00:00:00 2001 From: Akarshan Biswas Date: Mon, 20 Jan 2025 20:26:02 +0530 Subject: [PATCH] Review update: Use GGML_SYCL_DEBUG --- ggml/src/ggml-sycl/softmax.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml/src/ggml-sycl/softmax.cpp b/ggml/src/ggml-sycl/softmax.cpp index 4a8785b79..60528139d 100644 --- a/ggml/src/ggml-sycl/softmax.cpp +++ b/ggml/src/ggml-sycl/softmax.cpp @@ -249,12 +249,12 @@ 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) { - //printf("%s: fp16 mask\n", __func__); + 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) { - //printf("%s: fp32 mask\n", __func__); + 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 {