From: Akarshan Biswas Date: Tue, 1 Apr 2025 08:11:39 +0000 (+0530) Subject: SYCL: switch to SYCL namespace (llama/12674) X-Git-Tag: upstream/0.0.1898~9 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=6f64c23084518683451677a73b694f29487a62b3;p=pkg%2Fggml%2Fsources%2Fggml SYCL: switch to SYCL namespace (llama/12674) --- diff --git a/src/ggml-sycl/norm.cpp b/src/ggml-sycl/norm.cpp index 1d2cf5bc..4e9f438b 100644 --- a/src/ggml-sycl/norm.cpp +++ b/src/ggml-sycl/norm.cpp @@ -367,7 +367,7 @@ static void l2_norm_f32_sycl(const float* x, float* dst, const int ncols, sycl::nd_range<3>(sycl::range<3>(1, 1, nrows) * block_dims, block_dims), [=](sycl::nd_item<3> item_ct1) - [[intel::reqd_sub_group_size(WARP_SIZE)]] { + [[sycl::reqd_sub_group_size(WARP_SIZE)]] { l2_norm_f32(x, dst, ncols, eps, item_ct1, nullptr, WARP_SIZE); }); @@ -389,7 +389,7 @@ static void l2_norm_f32_sycl(const float* x, float* dst, const int ncols, sycl::nd_range<3>(sycl::range<3>(1, 1, nrows) * block_dims, block_dims), [=](sycl::nd_item<3> item_ct1) - [[intel::reqd_sub_group_size(WARP_SIZE)]] { + [[sycl::reqd_sub_group_size(WARP_SIZE)]] { l2_norm_f32(x, dst, ncols, eps, item_ct1, get_pointer(s_sum_acc_ct1), work_group_size); });