fixed compilation warnings in ggml-sycl (#12424)

This commit is contained in:
Łukasz Ślusarczyk 2025-03-18 01:51:25 +01:00 committed by GitHub
parent 7dfad387e3
commit a53f7f7b88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 101 additions and 106 deletions

View file

@ -132,7 +132,7 @@ static void soft_max_f32_submitter(const float * x, const T * mask, float * dst,
cgh.parallel_for(
sycl::nd_range<3>(block_nums * block_dims, block_dims),
[=](sycl::nd_item<3> item_ct1) [[intel::reqd_sub_group_size(WARP_SIZE)]] {
[=](sycl::nd_item<3> item_ct1) [[sycl::reqd_sub_group_size(WARP_SIZE)]] {
soft_max_f32<vals_smem, ncols_template, block_size_template>(x, mask, dst, ncols_par,
nrows_y, scale, max_bias, m0,
m1, n_head_log2, item_ct1,