mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	SYCL: switch to SYCL namespace (#12674)
This commit is contained in:
		| @@ -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, |                 sycl::nd_range<3>(sycl::range<3>(1, 1, nrows) * block_dims, | ||||||
|                     block_dims), |                     block_dims), | ||||||
|                 [=](sycl::nd_item<3> item_ct1) |                 [=](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, |                     l2_norm_f32(x, dst, ncols, eps, item_ct1, | ||||||
|                         nullptr, WARP_SIZE); |                         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, |                 sycl::nd_range<3>(sycl::range<3>(1, 1, nrows) * block_dims, | ||||||
|                     block_dims), |                     block_dims), | ||||||
|                 [=](sycl::nd_item<3> item_ct1) |                 [=](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, |                     l2_norm_f32(x, dst, ncols, eps, item_ct1, | ||||||
|                         get_pointer(s_sum_acc_ct1), work_group_size); |                         get_pointer(s_sum_acc_ct1), work_group_size); | ||||||
|                 }); |                 }); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Akarshan Biswas
					Akarshan Biswas