Skip to content

Commit 8bbf260

Browse files
authored
SYCL: switch to SYCL namespace (#12674)
1 parent 35782ae commit 8bbf260

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml-sycl/norm.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ static void l2_norm_f32_sycl(const float* x, float* dst, const int ncols,
367367
sycl::nd_range<3>(sycl::range<3>(1, 1, nrows) * block_dims,
368368
block_dims),
369369
[=](sycl::nd_item<3> item_ct1)
370-
[[intel::reqd_sub_group_size(WARP_SIZE)]] {
370+
[[sycl::reqd_sub_group_size(WARP_SIZE)]] {
371371
l2_norm_f32(x, dst, ncols, eps, item_ct1,
372372
nullptr, WARP_SIZE);
373373
});
@@ -389,7 +389,7 @@ static void l2_norm_f32_sycl(const float* x, float* dst, const int ncols,
389389
sycl::nd_range<3>(sycl::range<3>(1, 1, nrows) * block_dims,
390390
block_dims),
391391
[=](sycl::nd_item<3> item_ct1)
392-
[[intel::reqd_sub_group_size(WARP_SIZE)]] {
392+
[[sycl::reqd_sub_group_size(WARP_SIZE)]] {
393393
l2_norm_f32(x, dst, ncols, eps, item_ct1,
394394
get_pointer(s_sum_acc_ct1), work_group_size);
395395
});

0 commit comments

Comments
 (0)