Skip to content

Commit f3e4553

Browse files
Some additional renames
1 parent 01e5da4 commit f3e4553

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_radix_sort_one_wg.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ struct __subgroup_radix_sort
186186
auto __exchange_lacc = __buf_val.get_acc (__cgh);
187187
auto __counter_lacc = __buf_count.get_acc(__cgh);
188188

189-
const auto __fence_buf_val = __buf_val._space;
190-
const auto __fence_buf_count = __buf_count._space;
191-
const auto __fence_common = __get_fence_common(__fence_buf_val, __fence_buf_count);
189+
const auto __fence_exchange = __buf_val._space;
190+
const auto __fence_counter = __buf_count._space;
191+
const auto __fence_common = __get_fence_common(__fence_exchange, __fence_counter);
192192

193193
__cgh.parallel_for<_Name...>(
194194
__range, ([=](sycl::nd_item<1> __it) [[_ONEDPL_SYCL_REQD_SUB_GROUP_SIZE_IF_SUPPORTED(16)]] {
@@ -262,7 +262,7 @@ struct __subgroup_radix_sort
262262

263263
if (__wi == 0)
264264
__counter_lacc[0] = 0;
265-
__dpl_sycl::__group_barrier(__it, __fence_buf_count);
265+
__dpl_sycl::__group_barrier(__it, __fence_counter);
266266
}
267267

268268
_ONEDPL_PRAGMA_UNROLL
@@ -325,7 +325,7 @@ struct __subgroup_radix_sort
325325
__exchange_lacc[__r] = ::std::move(__values.__v[__i]);
326326
}
327327
}
328-
__dpl_sycl::__group_barrier(__it, __fence_buf_val);
328+
__dpl_sycl::__group_barrier(__it, __fence_exchange);
329329

330330
_ONEDPL_PRAGMA_UNROLL
331331
for (uint16_t __i = 0; __i < __block_size; ++__i)

0 commit comments

Comments
 (0)