Skip to content

Commit 53847e4

Browse files
committed
Review update: Use GGML_SYCL_DEBUG
1 parent b913e83 commit 53847e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml-sycl/softmax.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,12 @@ void ggml_sycl_op_soft_max(ggml_backend_sycl_context & ctx, ggml_tensor * dst) {
249249
dpct::queue_ptr main_stream = ctx.stream();
250250

251251
if (dst->src[1] && dst->src[1]->type == GGML_TYPE_F16) {
252-
//printf("%s: fp16 mask\n", __func__);
252+
GGML_SYCL_DEBUG("%s: fp16 mask\n", __func__);
253253
const sycl::half * src1_dd = static_cast<sycl::half *>(dst->src[1]->data);
254254
soft_max_f32_sycl<sycl::half>(src0_dd, src1_dd, dst_dd, ne00, nrows_x, nrows_y, scale, max_bias,
255255
main_stream, ctx.device);
256256
} else if (dst->src[1] && dst->src[1]->type == GGML_TYPE_F32) {
257-
//printf("%s: fp32 mask\n", __func__);
257+
GGML_SYCL_DEBUG("%s: fp32 mask\n", __func__);
258258
const float * src1_dd = static_cast<const float *>(dst->src[1]->data);
259259
soft_max_f32_sycl<float>(src0_dd, src1_dd, dst_dd, ne00, nrows_x, nrows_y, scale, max_bias, main_stream, ctx.device);
260260
} else {

0 commit comments

Comments
 (0)