Skip to content

Commit e9bcdf8

Browse files
committed
softmax: remove GGML_SYCL_DEBUG as they don't work in softmax.cpp
1 parent 1c5611e commit e9bcdf8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ggml/src/ggml-sycl/softmax.cpp

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

250250
if (dst->src[1] && dst->src[1]->type == GGML_TYPE_F16) {
251-
GGML_SYCL_DEBUG("%s: fp16 mask\n", __func__);
252251
const sycl::half * src1_dd = static_cast<sycl::half *>(dst->src[1]->data);
253252
soft_max_f32_sycl<sycl::half>(src0_dd, src1_dd, dst_dd, ne00, nrows_x, nrows_y, scale, max_bias,
254253
main_stream, ctx.device);
255254
} else if (dst->src[1] && dst->src[1]->type == GGML_TYPE_F32) {
256-
GGML_SYCL_DEBUG("%s: fp32 mask\n", __func__);
257255
const float * src1_dd = static_cast<const float *>(dst->src[1]->data);
258256
soft_max_f32_sycl<float>(src0_dd, src1_dd, dst_dd, ne00, nrows_x, nrows_y, scale, max_bias, main_stream, ctx.device);
259257
} else {

0 commit comments

Comments
 (0)