rm commented code

This commit is contained in:
Abhilash Majumder 2024-02-26 13:15:34 +05:30 committed by Aidan
parent 683ac381d8
commit 20453f3361

View file

@ -10876,9 +10876,7 @@ static void soft_max_f32_submitter(const float * x, const float * mask, const fl
const size_t n_local_scratch, dpct::queue_ptr stream) { const size_t n_local_scratch, dpct::queue_ptr stream) {
stream->submit([&](sycl::handler &cgh) { stream->submit([&](sycl::handler &cgh) {
sycl::local_accessor<float, 1> local_buf_acc(n_local_scratch, cgh); sycl::local_accessor<float, 1> local_buf_acc(n_local_scratch, cgh);
//sycl::local_accessor<float, 1> local_buf_acc(
// sycl::range<1>(32 /*SYCL_SOFT_MAX_BLOCK_SIZE/WARP_SIZE*/), cgh);
cgh.parallel_for( cgh.parallel_for(
sycl::nd_range<3>(block_nums * block_dims, block_dims), sycl::nd_range<3>(block_nums * block_dims, block_dims),
[=](sycl::nd_item<3> item_ct1) [[intel::reqd_sub_group_size(32)]] { [=](sycl::nd_item<3> item_ct1) [[intel::reqd_sub_group_size(32)]] {